fun addOnLocationLongClickListener(listener: OnLocationLongClickListener)
Content copied to clipboard
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 OnLocationLongClickListener.onLocationComponentLongClick is going to be delivered, com.mapbox.mapboxsdk.maps.MapboxMap.OnMapLongClickListener.onMapLongClick is going to be consumed and not pushed to the listeners registered after the component's activation.