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