Property Type Notes
layerType "WebTiledLayer"

String indicating the layer type. Value of this property must be WebTiledLayer

id Inherited any

A unique identifying string for the layer.

fullExtent Optional IExtent

An extent object representing the full extent envelope for the layer.

isReference Optional any

This is applicable if used as a baseMapLayer. A boolean value indicating whether or not the baseMapLayer draws on top (true) of other layers, including operationalLayers , or below (false).

refreshInterval Optional any

Refresh interval of the layer in minutes. Non-zero value indicates automatic layer refresh at the specified interval. Value of 0 indicates auto refresh is not enabled.

subDomains Optional any

If subdomains are detected, they must be specified. The map viewer detects if the Web Tiled Layer has subdomains by parsing the templateURL value for {subDomain}.

templateUrl Optional any

URL to the Web Tiled Layer. Input required by the user when the layer is added to the web map. The template URL contains a parameterized URL. The URL can contain the following templated parameters: 'level', 'col', 'row', and 'subDomain'.

tileInfo Optional ITileInfo

Contains the spatial reference and the tiling scheme of the layer. Typically retrieved from a WMTS OGC Web Service. If missing the layer must be in the WGS 1984 Web Mercator (Auxiliary Sphere) tiling scheme.

type Optional "WebTiledLayer"

Deprecated, use layerType instead.

wmtsInfo Optional IWebMapTileServiceInfo

Object containing information about the chosen WMTS service layer and tiling schema.

itemId Optional Inherited string

Optional string containing the item ID of the service if it's registered on ArcGIS Online or your organization's portal.

maxScale Optional Inherited number

Integer property used to determine the maximum scale at which the layer is displayed.

minScale Optional Inherited number

Integer property used to determine the minimum scale at which the layer is displayed.

name Optional Inherited string

Layer name

opacity Optional Inherited number

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

showLegend Optional Inherited boolean

Boolean property indicating whether to display in the legend.

title Optional Inherited string

A user-friendly string title for the layer that can be used in a table of contents.

url Optional Inherited string

The URL to the layer. Not applicable to all layer types.

visibility Optional Inherited boolean

Boolean property determining whether the layer is initially visible in the web map.

Interface defined in packages/arcgis-rest-types/src/webmap.ts:1271