Style Import Interactions State
StyleImportInteractionsState manages the map interactions defined for the style import.
Constructors
Functions
Link copied to clipboard
fun onFeaturesetClicked(featuresetId: String, importId: String? = null, filter: Expression? = null, onClick: InteractiveFeatureScope.(InteractiveFeature<FeatureState>, InteractionContext) -> Boolean): StyleImportInteractionsState
Add the ClickInteraction for given featureset defined with featuresetId and optional importId.
Link copied to clipboard
fun onFeaturesetLongClicked(featuresetId: String, importId: String? = null, filter: Expression? = null, onLongClick: InteractiveFeatureScope.(InteractiveFeature<FeatureState>, InteractionContext) -> Boolean): StyleImportInteractionsState
Add the LongClickInteraction for given featureset defined with featuresetId and optional importId.
Link copied to clipboard
fun onMapClicked(onClick: InteractiveFeatureScope.(InteractionContext) -> Boolean): StyleImportInteractionsState
Add the ClickInteraction for the map surface itself.
Link copied to clipboard
fun onMapLongClicked(onLongClick: InteractiveFeatureScope.(InteractionContext) -> Boolean): StyleImportInteractionsState
Add the LongClickInteraction for the map surface itself.