on Clicked
fun onClicked(filter: Expression? = null, onClick: FeaturesetFeatureScope.(FeaturesetFeature<FeatureState>, InteractionContext) -> Boolean): LayerInteractionsState
Add the ClickInteraction for this layer.
When several ClickInteractions are registered for the same layer - the callbacks will be triggered from last to first.
Parameters
filter
optional filter. Defaults to NULL.
on Click
callback triggered when layer is clicked.