OpenStreetMap Layer (OpenStreetMap)

Allows use of OpenStreetMap data for use in basemaps only.

Referenced by: baseMapLayer


Property Details
blendMode Blend modes are used to create various effects by blending colors of top and background layers. normal blend mode is the default.
Valid values: average, color, color-burn, color-dodge, darken, destination-atop, destination-in, destination-out, destination-over, difference, exclusion, hard-light, hue, invert, lighten, lighter, luminosity, minus, multiply, normal, overlay, plus, reflect, saturation, screen, soft-light, source-atop, source-in, source-out, vivid-light, xor
id An identifying string for the layer, unique per scene.
layerType String indicating the layer type.
Valid value of this property OpenStreetMap
listMode To show or hide layers in the layer list
Valid 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.


Live sample web scene showing the OpenStreetMap as a baseMapLayer

  "title": "Layer",
  "layerType": "OpenStreetMap",
  "opacity": 1,
  "visibility": true,
  "id": "OpenStreetMap"

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