on Layer Long Clicked
fun onLayerLongClicked(id: String, filter: Expression? = null, onLongClick: FeaturesetFeatureScope.(FeaturesetFeature<FeatureState>, InteractionContext) -> Boolean): StyleInteractionsState
Add the LongClickInteraction for given id.
When several LongClickInteractions are registered for the same id - the callbacks will be triggered from last to first.
Parameters
id
mandatory layer id.
filter
optional filter. Defaults to NULL.
on Long Click
callback triggered when layer is clicked.