VectorLayerDescriptor

Marker for layer descriptors that map to Mapbox vector style layers (fill, line, circle, symbol, heatmap). Implementations add sourceLayer (MVT layer name, or null for GeoJSON) and an optional feature filter.

The type parameter P is the paint type serialized via VectorLayerPaint.asStyleJSON when the layer is added.

See also

Inheritors

Properties

Link copied to clipboard
abstract var filter: Expression?
Link copied to clipboard
abstract var id: String
Link copied to clipboard
abstract var paint: P
Link copied to clipboard
abstract var source: String
Link copied to clipboard
abstract var sourceLayer: String?
Link copied to clipboard
abstract val type: LayerType

Functions

Link copied to clipboard
abstract fun off(eventName: String)
Link copied to clipboard
abstract fun on(eventName: String, callback: (Any?) -> Unit)
Link copied to clipboard
abstract fun trigger(eventName: String, data: Any? = null)