on Featureset Long Clicked
fun onFeaturesetLongClicked(id: String, importId: String? = null, filter: Expression? = null, radius: Double? = null, onLongClick: FeaturesetFeatureScope.(FeaturesetFeature<FeatureState>, InteractionContext) -> Boolean): StyleImportInteractionsState
Add the LongClickInteraction for given featureset defined with id and optional importId.
When several LongClickInteractions are registered for the same id and importId - the callbacks will be triggered from last to first.
Parameters
id
mandatory featureset id.
import Id
optional style import id, if not set, the ID will be taken from StyleImport.importId.
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 featureset is clicked.