This documentation is for ArcGIS REST JS 3.x which is no longer maintained. For the latest 4.x documentation see ArcGIS REST JS on the ArcGIS Developer website.




Property Type Notes
fieldNames Optional string[] | string

An array of string values indicating all the fields used within the webmap. All other fields can be disregarded and should not display in any field selection list.

layerIds Optional number[] | number

A zero-based array of integers indicating the layers to be used in the webmap. NOTE: All other layers should not be added to the TOC and may or may not be visible on the map as reference layers.

name Optional string

String property indicating the name for the thematic grouping of layers.

Interface defined in packages/arcgis-rest-types/src/webmap.ts:909