on Click
Dispatches the click to the MapboxMap, so that map interactions registered with MapboxMap.addInteraction receive it, e.g. a com.mapbox.maps.ClickInteraction.
See also
Mapbox Car Map Gesture Handler. onClick
for instructions to enable.
Parameters
mapbox Car Map Surface
loaded and ready car map surface
x
the horizontal screen coordinate of the click in pixels
y
the vertical screen coordinate of the click in pixels