ClipLayerDsl

This Interface contains all the functions that will be exposed to Koltin DSL.

Separated the DSL receiver class to this interface to avoid IDE code suggestion for property getters.

Functions

Link copied to clipboard
abstract fun clipLayerTypes(clipLayerTypes: Expression): ClipLayer
abstract fun clipLayerTypes(clipLayerTypes: List<String> = listOf()): ClipLayer

Layer types that will also be removed if fallen below this clip layer. Default value: [].

Link copied to clipboard
abstract fun filter(filter: Expression): ClipLayer

A filter is a property at the layer level that determines which features should be rendered in a style layer.

Link copied to clipboard
abstract fun maxZoom(maxZoom: Double): ClipLayer

The maximum zoom level for the layer. At zoom levels equal to or greater than the maxzoom, the layer will be hidden.

Link copied to clipboard
abstract fun minZoom(minZoom: Double): ClipLayer

The minimum zoom level for the layer. At zoom levels less than the minzoom, the layer will be hidden.

Link copied to clipboard
abstract fun slot(slot: String): ClipLayer

The slot this layer is assigned to. If specified, and a slot with that name exists, it will be placed at that position in the layer order.

Link copied to clipboard
abstract fun sourceLayer(sourceLayer: String): ClipLayer

A source layer is an individual layer of data within a vector source. A vector source can have multiple source layers.

Link copied to clipboard
abstract fun visibility(visibility: Expression): ClipLayer
abstract fun visibility(visibility: Visibility): ClipLayer

Whether this layer is displayed.

Inheritors

Link copied to clipboard