Skip To Content ArcGIS for Developers Sign In Dashboard

Web Scene Specification

OpenStreetMap Layer (OpenStreetMap)

Allows use of OpenStreetMap data for use in basemaps only.

Referenced by: baseMapLayer

Properties

Property Details
id An identifying string for the layer, unique per scene.
layerType String indicating the layer type.
Value of this property must be OpenStreetMap
listMode To show or hide layers in the layer list
If property is present, must be one of the following values:
  • hide
  • show
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.
visibility Boolean property determining whether the layer is initially visible.

Example

Live sample web scene showing the OpenStreetMap as a baseMapLayer

{
  "baseMapLayers": [
    {
      "title": "Layer",
      "layerType": "OpenStreetMap",
      "opacity": 1,
      "visibility": true,
      "id": "OpenStreetMap"
    }
  ],
  "id": "15987d24c4b-basemap-11",
  "title": "OpenStreetMap"
}

Feedback on this topic?