Package-level declarations

Types

Link copied to clipboard

Base class for the different Layer types

Functions

Link copied to clipboard

Extension function to add a Layer provided by the Style Extension to the Style.

Link copied to clipboard

Extension function to add a Layer provided by the Style Extension to the Style.

Link copied to clipboard

Extension function to add a Layer provided by the Style Extension to the Style.

Link copied to clipboard

Extension function to add a Layer provided by the Style Extension to the Style.

Link copied to clipboard

Add layer to the style persistently.

Link copied to clipboard
fun Style.getLayer(layerId: String): Layer?

Extension function to get a Layer provided by the Style Extension by layer id.

Link copied to clipboard
inline fun <T : Layer> Style.getLayerAs(layerId: String): T?

Tries to cast the Layer to T.

Link copied to clipboard

Get the persistent property as Boolean.