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

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.
主站蜘蛛池模板: 施秉县| 屏东县| 德令哈市| 云霄县| 乌拉特前旗| 出国| 兰考县| 河西区| 三穗县| 鹤峰县| 霍州市| 汝南县| 惠州市| 余江县| 大英县| 二连浩特市| 德化县| 正阳县| 淅川县| 吴川市| 临澧县| 邻水| 阳城县| 庆云县| 防城港市| 射洪县| 潜江市| 柞水县| 望城县| 青阳县| 如东县| 丽水市| 钟祥市| 奉节县| 隆安县| 翁源县| 汤阴县| 木兰县| 囊谦县| 龙州县| 五大连池市|