- Building Web and Mobile ArcGIS Server Applications with JavaScript(Second Edition)
- Eric Pimpler Mark Lewin
- 251字
- 2021-07-02 15:48:57
Creating Maps and Adding Layers
We all have to start somewhere when learning a new programming language or Application Programming Interface (API). The same applies to creating web mapping applications with the ArcGIS API for JavaScript. Not only do you need to understand some basic JavaScript concepts but you also need to have a grasp of HTML, CSS, and of course the ArcGIS API for JavaScript, which is actually built on top of the Dojo JavaScript framework. That's a lot to put on your plate at once, so in this chapter we'll have you create a very basic application that will serve as a foundation which you can build on in the coming chapters.
Mimicry is an excellent way to learn programming skills, so in this chapter I'm just going to have you type in the code that you see and we'll provide some explanation along the way. We'll save the detailed descriptions of the code for later chapters.
To get your feet wet with the ArcGIS API for JavaScript you're going to create a simple mapping application in this chapter that creates a map, adds a couple of data layers, and provides some basic map navigation capabilities.
Let's get started!
In this chapter we'll cover the following topics:
- The ArcGIS API for JavaScript Sandbox
- Basic steps for creating an application with the ArcGIS API for JavaScript
- More about the map
- Working with map service layers
- Tiled map service layers
- Dynamic map service layers
- Map navigation
- Working with the map extent
- 機(jī)器學(xué)習(xí)系統(tǒng):設(shè)計(jì)和實(shí)現(xiàn)
- HTML5 Mobile Development Cookbook
- Mastering C# Concurrency
- Access 2010數(shù)據(jù)庫(kù)基礎(chǔ)與應(yīng)用項(xiàng)目式教程(第3版)
- SQL Server 2012數(shù)據(jù)庫(kù)管理與開發(fā)項(xiàng)目教程
- C#程序設(shè)計(jì)教程(第3版)
- Java7程序設(shè)計(jì)入門經(jīng)典
- Java 9 with JShell
- 網(wǎng)絡(luò)綜合布線與組網(wǎng)實(shí)戰(zhàn)指南
- 基于Docker的Redis入門與實(shí)戰(zhàn)
- Python深度學(xué)習(xí):基于PyTorch
- Swift從入門到精通 (移動(dòng)開發(fā)叢書)
- Delphi Cookbook
- Go Programming Cookbook(Second Edition)
- Python for Secret Agents