IKmlLayer

Interface

Extends

Properties

Property Type Notes
layerType "KML"

String indicating the layer type.

id Inherited any

A unique identifying string for the layer.

maxScale Optional any

A number representing the maximum scale at which the layer will be visible. The number is the scale's denominator.

minScale Optional any

A number representing the minimum scale at which the layer will be visible. The number is the scale's denominator.

opacity Optional any

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

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.

showLegend Optional any

Indicates whether to allow map authors the ability to control what layers should be shown in a client's legend.

title Optional any

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

type Optional "KML"
visibleFolders Optional number[] | number

Array of numeric IDs of folders that will be made visible.

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.

name Optional Inherited string

Layer name

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:1370