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