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