baseMap

The basemap provides geographic context to the map and scene.

Properties

Property Details
baseMapLayers An array of baseMapLayer objects defining the basemaps used in the web scene.
elevationLayers Deprecated, use ground.layers instead 1. An array of elevationLayer objects defining the basemaps used in the web scene.
id A unique identifying string for the basemap.
title Required string title for the basemap that can be used in a table of contents.
transparency The degree of transparency applied to the basemap on the client side, where 0 is fully opaque and 1 is fully transparent.

Additional information

1elevationLayers was a required property until 1.7

Example

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

{
  "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"
  }
}

Feedback on this topic?