on Poi Clicked
fun onPoiClicked(importId: String? = null, filter: Expression? = null, radius: Double? = null, onClick: FeaturesetFeatureScope.(StandardPoiFeature, InteractionContext) -> Boolean): StandardStyleInteractionsState
Add the ClickInteraction for featureset 'poi' from Mapbox Standard Style or Mapbox Standard Satellite Style.
When several ClickInteractions are registered for the same importId - the callbacks will be triggered from last to first.
Parameters
import Id
optional Standard style import id.
filter
optional filter. Defaults to NULL.
radius
of an extra area around touch in screen pixels. Defaults to NULL meaning 0-radius pixels area.
on Click
callback triggered when the Standard featureset is clicked.