Package-level declarations

Types

Link copied to clipboard

Layer with custom rendering implementation.

Link copied to clipboard
interface CustomLayerDsl

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

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 customLayer(layerId: String, host: CustomLayerHost, block: CustomLayerDsl.() -> Unit? = null): CustomLayer

DSL function for creating a CustomLayer.

Link copied to clipboard

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

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

Tries to cast the Layer to T.

Link copied to clipboard

Get the persistent property as Boolean.