MapLayerConfig

interface MapLayerConfig

Configuration options for a WebGL layer.

Properties

Link copied to clipboard
abstract val animation: Animation?

Animation instance that controls the animation of this layer if time-based.

Link copied to clipboard
abstract val renderer: LayerRenderer<Any>

Renderer responsible for rendering this layer and its data.

Link copied to clipboard
abstract val source: DataSource

The data source that this layer will render.

Link copied to clipboard
abstract val sourceLayer: String?

The layer's data to use from the data source, if applicable. This is only used for vector tile data sources whose tiles are in the Mapbox Vector Tile (MVT) format.

Link copied to clipboard

The feature type to render from the data source, if applicable. This is only used for vector tile data sources whose tiles are in the Mapbox Vector Tile (MVT) format.

Link copied to clipboard
abstract val viewport: Viewport

Map controller's viewport.