setOnMapClickListener

open fun setOnMapClickListener(onMapClickListener: MPOnMapClickListener)

Set the map click listener. Should be added here instead of the providers setOnMapClickListener, because MapControl needs this event.

IMPORTANT: Please note that, unlike most of the other method callbacks in MapControl, this method doesn't return on the UI Thread

Parameters

onMapClickListener

The map click listener. Set to null to remove it.