Layer level
Map services and feature services are made up of layers. These layers group together geographic features with the same geometry type and the same sets of properties. Layers are referred to by their numerical index in the list. The layer index starts at 0
for the bottom layer, and goes up one for each additional layer. The URL might look something like this for the first layer in a map service:
http://<GIS-web- server>/arcgis/rest/services/<folder>/<mapname>/MapServer/0
Map layers offer a whole host of data to help you understand what you're viewing. The layer's name
property comes either from its name in the .mxd
file, or from the layer in the Table of contents, if the file is unsaved. The map layer also provides a description, and copyright ...
Get Mastering ArcGIS Server Development with JavaScript now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.