IVectorTileLayer

Interface

A vector tile layer references a set of web-accessible vector tiles and the corresponding style for how those tiles should be drawn.

Extends

Properties

Property Type Notes
id Inherited any

A unique identifying string for the layer.

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.

layerType

String indicating the layer type.

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.

styleUrl Optional string

A url to a JSON file containing the stylesheet information used to render the layer. You may also pass an object containing the stylesheet information identical to the JSON file.

title Optional Inherited string

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

type Optional

Deprecated. User layerType instead.

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-common-types/src/webmap.ts:1058