on Featureset Clicked
fun onFeaturesetClicked(id: String, importId: String? = null, filter: Expression? = null, onClick: FeaturesetFeatureScope.(FeaturesetFeature<FeatureState>, InteractionContext) -> Boolean): StyleImportInteractionsState
Add the ClickInteraction for given featureset defined with id and optional importId.
When several ClickInteractions 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.
on Click
callback triggered when featureset is clicked.