OpenStreetMap Layer (OpenStreetMap)

Allows use of OpenStreetMap data for use in basemaps only.

Properties

Property Details
id A unique identifying string for the layer.
itemId String containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal.
layerType String indicating the layer type.
Value of this property must be OpenStreetMap
maxScale A numeric property used to determine the maximum scale at which the layer is displayed.
minScale A numeric property used to determine the minimum scale at which the layer is displayed.
opacity The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency.
title String title for the basemap layer.
type Deprecated, use layerType instead.
visibility Boolean property determining whether the layer is initially visible in the web map.

Example

Live sample web maps showing the OpenStreetMap as a baseMapLayer

{
  "baseMapLayers": [
    {
      "title": "OSM",
      "type": "OpenStreetMap",
      "layerType": "OpenStreetMap",
      "opacity": 1,
      "visibility": true,
      "id": "OpenStreetMap"
    }
  ],
  "title": "OpenStreetMap"
}

Feedback on this topic?