Indicates if working with Microsoft Bing layers. There are three layer types associated with Bing Layers: BingMapsAerial, BingMapsRoad, and BingMapsHybrid.

Referenced by: baseMapLayer

Properties

PropertyDetails
blendModeBlend 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
effectEffect provides various filter functions to achieve different visual effects similar to how image filters (photo apps) work.
idA unique identifying string for the layer.
layerTypeString indicating the layer type.
Valid values:
  • BingMapsAerial
  • BingMapsHybrid
  • BingMapsRoad
maxScaleInteger property used to determine the maximum scale at which the layer is displayed.
minScaleInteger property used to determine the minimum scale at which the layer is displayed.
opacityThe degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency.
portalUrlA string value representing the URL to the Portal/organization Self resource. Calls should be made to this property to retrieve the Bing key. If the key is not made accessible to the public or if canShareBingPublic is false, any web maps using Bing layers will not work.
titleA user-friendly string title for the layer that can be used in a table of contents.
typeDeprecated, use layerType instead.
visibilityBoolean property determining whether the layer is initially visible in the web map.
visibilityTimeExtentRepresents time extent that will control when a layer should be visible based on webmap’s current time. Visibility time extent only affects the layer visibility and will not filter the data.

Example

{
"title": "Bing Maps Road",
"type": "BingMapsRoad",
"layerType": "BingMapsRoad",
"portalUrl": "https://yourportal.arcgis.com/sharing/rest/portals/lVkj5PBOw7tRmIPU",
"opacity": 1,
"visibility": true,
"id": "BingMapsRoad",
"blendMode": "hue"
}