No map is complete without data to show. Data is added to the map through layers. Layers refer to data sources that include geographic, symbolic, and even tabular data. The ArcGIS API for JavaScript contains a number of modules for interpreting different kinds of common geographic data sources. Some of the layer modules work with data provided by ArcGIS Server, and others can display data from other sources, such as KML, Web Map Service (WMS), and CSV files.

Common ArcGIS Server layers

ArcGIS Server provides map layer data through Map Services. Map Services provide data published from an ArcMap map document (.mxd). The visual map data, legend, and underlying data tables are served through ArcGIS Server, and can be consumed through the browser ...

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.