featureset

Create 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.

importId

optional style import id.

filter

optional filter. Defaults to NULL.

onLongClick

callback triggered when featureset is clicked.