Layer Interactions State
LayerInteractionsState manages the map interactions defined for the layer.
Constructors
Functions
Link copied to clipboard
fun onClicked(filter: Expression? = null, onClick: InteractiveFeatureScope.(InteractiveFeature<FeatureState>, InteractionContext) -> Boolean): LayerInteractionsState
Add the ClickInteraction for this layer.
Link copied to clipboard
fun onLongClicked(filter: Expression? = null, onLongClick: InteractiveFeatureScope.(InteractiveFeature<FeatureState>, InteractionContext) -> Boolean): LayerInteractionsState
Create the LongClickInteraction for this layer.