Working with map service layers

A map without data layers is sort of like an artist with a blank canvas. The data layers that you add to your map give it meaning and set the stage for analysis. There are two primary types of map services that provide data layers that can be added to your map: dynamic map service layers and tiled map service layers.

Dynamic map service layers reference map services that create a map image on the fly and then return the image to the application. This type of map service may be composed of one or more layers of information. For example, the demographics map service displayed in the following screenshot is composed of nine different layers, representing demographic information at various levels of geography:

While they ...

Get Building Web and Mobile ArcGIS Server Applications with JavaScript now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.