Layer

class Layer

A Layer is an overlay that is added to the map. Each layer references a data source that defines the features that should appear when the layer is rendered, and provides styling instructions for describe the visual properties that should be applied to those features when the layer is rendering those features.

Functions

Link copied to clipboard
fun hide()

Change visibility of the selected Layer to false.

Link copied to clipboard

Indicates whether Layer is visible.

Link copied to clipboard
fun show()

Change visibility of the selected Layer to true.

Properties

Link copied to clipboard

UniqueId uniquely identifying this Layer.

Link copied to clipboard

Arbitrary property, used to carry extra information.

Link copied to clipboard

Unique layer name.

Link copied to clipboard

Name of the source description for this layer.