Skip To Content
ArcGIS Developer
Dashboard

Common Data Types

baseMap

Basemaps give the web map a geographic context. In the web map, the basemaps are held in an array of baseMapLayer objects. Typically, you will use one basemap layer that is drawn beneath all other layers, but you can also add a basemap layer on top of all other layers to depict boundaries, labels, or a road network.

Properties

PropertyDetails

baseMapLayers

An array of baseMapLayer objects defining the basemaps used in the web map.

title

A string title for the basemap that can be used in a table of contents.

Example

  "baseMap": {
    "baseMapLayers": [
      {
        "id": "World_Imagery_5014",
        "opacity": 1,
        "visibility": true,
        "url": "http://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer"
      },
      {
        "id": "World_Boundaries_and_Places_9730",
        "isReference": true,
        "opacity": 1,
        "visibility": true,
        "url": "http://services.arcgisonline.com/ArcGIS/rest/services/Reference/World_Boundaries_and_Places/MapServer"
      }
    ],
    "title": "Imagery with Labels"
  }
In this topic
  1. Properties
  2. Example