on Long Clicked
fun onLongClicked(filter: Expression? = null, radius: Double? = null, onLongClick: FeaturesetFeatureScope.(FeaturesetFeature<FeatureState>, InteractionContext) -> Boolean): LayerInteractionsState
Create the LongClickInteraction for this layer.
When several LongClickInteractions are registered for the same layer - the callbacks will be triggered from last to first.
Parameters
filter
optional filter. Defaults to NULL.
radius
of an extra area around touch in screen pixels. Defaults to NULL meaning 0-radius pixels area.
on Long Click
callback triggered when layer is clicked.