Skip to content

The basemap provides geographic context to the map and scene.

Referenced by: slide, Webscene

Properties

Property Details
baseMapLayers[] An array of baseMapLayer objects defining the basemaps used in the web scene.
elevationLayers[] Deprecated, use baseMap.groundLayers or ground.layers instead.1 An array of elevationLayer objects defining the basemaps used in the web scene.
groundLayers[] A Collection of integrated mesh layers which constitute the ground of the basemap used in the web scene.2
id A unique identifying string for the basemap.
title Required string title for the basemap that can be used in a table of contents.

Additional information

1elevationLayers was a required property until 1.7.
2For ground layers which are in the scene but not part of the basemap, use ground.layers instead.

Example

Live sample web scene showing the Imagery with Labels as a baseMap

{
  "baseMapLayers": [
    {
      "id": "World_Imagery_5014",
      "title": "World Imagery",
      "layerType": "ArcGISTiledMapServiceLayer",
      "opacity": 1,
      "visibility": true,
      "url": "http://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer"
    },
    {
      "id": "World_Boundaries_and_Places_9730",
      "title": "World Boundaries and Places",
      "layerType": "ArcGISTiledMapServiceLayer",
      "isReference": true,
      "visibility": true,
      "url": "http://services.arcgisonline.com/ArcGIS/rest/services/Reference/World_Boundaries_and_Places/MapServer"
    }
  ],
  "title": "Imagery with Labels"
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.