IKmlLayer

Interface

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 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.

name Optional Inherited string

Layer name

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
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.

visibleFolders Optional number[]

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


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