Companion
object Companion
Static variables and methods.
Functions
Link copied to clipboard
fun featureset(featuresetId: String, importId: String? = null, filter: Value? = null, onClick: (InteractiveFeature<FeaturesetHolder.Featureset>, InteractionContext) -> Boolean): MapInteraction
Create the ClickInteraction for given featureset defined with featuresetId and optional importId.
Link copied to clipboard
Create the ClickInteraction for the map surface itself.
Link copied to clipboard
fun layer(layerId: String, filter: Value? = null, onClick: (InteractiveFeature<FeaturesetHolder.Layer>, InteractionContext) -> Boolean): MapInteraction
Create the ClickInteraction for given layerId.