handleMapClick

fun handleMapClick(target: Point, mapboxMap: MapboxMap)

Data from map click events should be forwarded to this method in order to search for EV stations at the click point. If an EV station is found it will be emitted via the flow.

Parameters

target

the map click point

mapboxMap

an instance of the MapboxMap