baseMap

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

Property Details
baseMapLayers[] An array of baseMapLayer objects defining the basemaps used in the web map.
title Required 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"
}

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

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close