featureset

Create the ClickInteraction for given featureset defined with featuresetId and optional importId.

When several ClickInteractions 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.

filter

optional filter. Defaults to NULL.

onClick

callback triggered when featureset is clicked.