StyleImportInteractionsState

StyleImportInteractionsState manages the map interactions defined for the style import.

Constructors

Functions

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

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): StyleImportInteractionsState

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

Link copied to clipboard

Add the ClickInteraction for the map surface itself.

Link copied to clipboard

Add the LongClickInteraction for the map surface itself.