- Building Web and Mobile ArcGIS Server Applications with JavaScript(Second Edition)
- Eric Pimpler Mark Lewin
- 218字
- 2021-07-02 15:48:57
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.
推薦閱讀
- 現代C++編程:從入門到實踐
- 程序員修煉之道:程序設計入門30講
- HTML5+CSS3基礎開發教程(第2版)
- 新手學Visual C# 2008程序設計
- oreilly精品圖書:軟件開發者路線圖叢書(共8冊)
- 小程序開發原理與實戰
- Learning OpenStack Networking(Neutron)(Second Edition)
- JavaCAPS基礎、應用與案例
- Creating Mobile Apps with jQuery Mobile(Second Edition)
- Clean Code in C#
- SCRATCH編程課:我的游戲我做主
- 開發者測試
- Python Natural Language Processing
- Java無難事:詳解Java編程核心思想與技術
- C語言從入門到精通(第4版)