官术网_书友最值得收藏!

Basic steps for creating an application with the ArcGIS API for JavaScript

Now that we've got some of the basics of HTML, CSS, and JavaScript out of the way it's time to actually get to work and learn how to build some great GIS web applications! The material in this chapter will introduce you to some of the fundamental concepts that define how you create a map and add information to the map in the form of layers.

There are several steps that you'll need to follow for creating any GIS web application with the ArcGIS API for JavaScript. These steps will always need to be performed if you intend to have a map as part of your application. And I can't imagine that you wouldn't want to do that, given that you're reading this book! In a nutshell,there are several steps you need to follow:

  • Create the HTML code for the page
  • Reference the ArcGIS API for JavaScript and style sheets
  • Load modules
  • Make sure the DOM is available
  • Create the map
  • Define page content
  • Style the page
  • The entire code
The HTML Document Object Model ( DOM) is a hierarchical representation of all the elements that make up a web page. JavaScript uses the DOM to inspect and change the values of these page elements at runtime.
主站蜘蛛池模板: 财经| 墨玉县| 东明县| 简阳市| 怀化市| 克东县| 山阳县| 天长市| 富宁县| 博爱县| 朝阳区| 侯马市| 罗定市| 库尔勒市| 五华县| 探索| 华安县| 黄陵县| 天台县| 天峨县| 福泉市| 历史| 黎城县| 庆元县| 南昌市| 永州市| 阳泉市| 天镇县| 大关县| 得荣县| 罗平县| 赤水市| 澄江县| 莒南县| 四平市| 高雄市| 类乌齐县| 汝南县| 玉山县| 枣庄市| 乌海市|