standard Poi
fun ClickInteraction.Companion.standardPoi(importId: String? = null, filter: Value? = null, onClick: (StandardPoiFeature, InteractionContext) -> Boolean): MapInteraction
Create the ClickInteraction for Mapbox Standard Style poi
featureset and an optional importId.
When several ClickInteractions are registered for the same importId - the callbacks will be triggered from last to first.
Parameters
import Id
optional style import id. Defaults to NULL.
filter
optional filter. Defaults to NULL.
on Click
callback triggered when the poi
featureset is clicked.
fun LongClickInteraction.Companion.standardPoi(importId: String? = null, filter: Value? = null, onLongClick: (StandardPoiFeature, InteractionContext) -> Boolean): MapInteraction
Create the LongClickInteraction for Mapbox Standard Style poi
featureset and an optional importId.
When several LongClickInteractions are registered for the same importId - the callbacks will be triggered from last to first.
Parameters
import Id
optional style import id. Defaults to NULL.
filter
optional filter. Defaults to NULL.
on Long Click
callback triggered when the poi
featureset is long clicked.