addOnLocationClickListener

Adds a listener that gets invoked when the user clicks the displayed location.

If there are registered location click listeners and the location is clicked, only onLocationComponentClick is going to be delivered, onMapClick is going to be consumed and not pushed to the listeners registered after the component's activation.

Parameters

listener

The location click listener that is invoked when the location is clicked