A basemap layer is a layer that provides geographic context to the map. A web map always contains a basemap. The basemap has a title and is the combination of each baseMapLayer. It is required that a baseMap be saved within the web map.

Referenced by: slide, Web Link Chart, Webmap

Properties

PropertyDetails
baseMapLayers[]An array of baseMapLayer objects defining the basemaps used in the web map.
titleRequired string title for the basemap that can be used in a table of contents. It takes the title of the first baseMapLayer in the array.

Example

{
"baseMapLayers": [
{
"title": "Bing Maps Road",
"type": "BingMapsRoad",
"layerType": "BingMapsRoad",
"portalUrl": "https://yourportal.arcgis.com/sharing/rest/portals/lVkj5PBOw7tRmIPU",
"opacity": 1,
"visibility": true,
"id": "BingMapsRoad"
}
],
"title": "Imagery with Labels"
}