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,     radius: Double? = 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,     radius: Double? = null,     onLongClick: FeaturesetFeatureScope.(FeaturesetFeature<FeatureState>, InteractionContext) -> Boolean): StyleImportInteractionsState

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

Link copied to clipboard