MTLayer

interface MTLayer

Protocol requirements for all types of Layers.

Inheritors

Properties

abstract var identifier: String

Unique id of the layer.

abstract var maxZoom: Double?

Max zoom of the layer.

abstract var minZoom: Double?

Min zoom of the layer.

abstract var sourceIdentifier: String

Identifier of the source.

abstract var sourceLayer: String?

Identifier of the source (main) layer to use.

abstract val type: MTLayerType

Type of the layer.