onMapClick

abstract fun onMapClick(@NonNull point: MPLatLng, @NonNull locationList: List<MPLocation>): Boolean

Called when the user makes a tap gesture on the map, but only if none of the overlays of the map handled the gesture.

Implementations of this method are NOT invoked on Android's Main thread

Return

true if the listener has consumed the event (i.e., the default behavior should not occur); false otherwise (i.e., the default behavior should occur).

Parameters

point

The point on the ground (projected from the screen point) that was tapped.

locationList

list of MPLocation found at clicked point