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