standardPoi

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

importId

optional style import id. Defaults to NULL.

filter

optional filter. Defaults to NULL.

radius

of an extra area around touch in screen pixels. Defaults to NULL meaning 0-radius pixels area.

onClick

callback triggered when the poi featureset is clicked.


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

importId

optional style import id. Defaults to NULL.

filter

optional filter. Defaults to NULL.

radius

of an extra area around touch in screen pixels. Defaults to NULL meaning 0-radius pixels area.

onLongClick

callback triggered when the poi featureset is long clicked.