StyleInteractionsState

StyleInteractionsState manages the map interactions defined for the style.

Constructors

Link copied to clipboard

Functions

Link copied to clipboard
fun onFeaturesetClicked(    id: String,     importId: String? = null,     filter: Expression? = null,     onClick: FeaturesetFeatureScope.(FeaturesetFeature<FeatureState>, InteractionContext) -> Boolean): StyleInteractionsState

Add the ClickInteraction for given featureset defined with id and optional importId.

Link copied to clipboard
fun onFeaturesetLongClicked(    id: String,     importId: String? = null,     filter: Expression? = null,     onLongClick: FeaturesetFeatureScope.(FeaturesetFeature<FeatureState>, InteractionContext) -> Boolean): StyleInteractionsState

Add the LongClickInteraction for given featureset defined with id and optional importId.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard