- 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
- Unity 2020 By Example
- Java異步編程實(shí)戰(zhàn)
- Rust編程從入門到實(shí)戰(zhàn)
- Python零基礎(chǔ)快樂(lè)學(xué)習(xí)之旅(K12實(shí)戰(zhàn)訓(xùn)練)
- Python高效開(kāi)發(fā)實(shí)戰(zhàn):Django、Tornado、Flask、Twisted(第2版)
- FFmpeg入門詳解:音視頻原理及應(yīng)用
- Visual Basic程序設(shè)計(jì)上機(jī)實(shí)驗(yàn)教程
- Kubernetes源碼剖析
- HTML+CSS+JavaScript網(wǎng)頁(yè)設(shè)計(jì)從入門到精通 (清華社"視頻大講堂"大系·網(wǎng)絡(luò)開(kāi)發(fā)視頻大講堂)
- Getting Started with Python
- 零基礎(chǔ)學(xué)Scratch 3.0編程
- Learning Bootstrap 4(Second Edition)
- R的極客理想:量化投資篇
- Python第三方庫(kù)開(kāi)發(fā)應(yīng)用實(shí)戰(zhàn)
- Web前端開(kāi)發(fā)技術(shù)實(shí)踐指導(dǎo)教程