Options
All
  • Public
  • Public/Protected
  • All
Menu

Base class for web map operational layers and basemap layers.

Part of the Esri web map specification. See http://resources.arcgis.com/en/help/arcgis-web-map-json/.

Hierarchy

Index

Properties

id

id: string

A unique identifying string for the layer.

Optional layerType

layerType: string

Not in official spec, but present in some newer web maps.

Optional opacity

opacity: number

The degree of transparency applied to the layer on the client side, where 0 is full transparency and 1 is no transparency.

Optional url

url: string

The URL to the layer. For well-known basemap types such as Bing Aerial, the URL should be empty.

Optional visibility

visibility: boolean

Determines whether the layer is initially visible in the web map.