addOnLocationLongClickListener

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

If there are registered location long click listeners and the location is long clicked, only onLocationComponentLongClick is going to be delivered, onMapLongClick 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