- 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.
推薦閱讀
- Getting Started with React
- Building a RESTful Web Service with Spring
- 深入淺出Spring Boot 2.x
- Java Web及其框架技術(shù)
- 深入淺出DPDK
- SAS數(shù)據(jù)統(tǒng)計(jì)分析與編程實(shí)踐
- Symfony2 Essentials
- 軟件品質(zhì)之完美管理:實(shí)戰(zhàn)經(jīng)典
- Java語言程序設(shè)計(jì)教程
- R數(shù)據(jù)科學(xué)實(shí)戰(zhàn):工具詳解與案例分析
- 軟件工程與UML案例解析(第三版)
- INSTANT JQuery Flot Visual Data Analysis
- jQuery Mobile Web Development Essentials(Second Edition)
- Spring Boot學(xué)習(xí)指南:構(gòu)建云原生Java和Kotlin應(yīng)用程序
- 走近SDN/NFV