onFeaturesetLongClicked

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

featuresetId

mandatory featureset id.

importId

optional style import id, if not set, the ID will be taken from StyleImport.importId.

filter

optional filter. Defaults to NULL.

onLongClick

callback triggered when featureset is clicked.