addCurrentLocationButtonClickListener

Registers an UiComponentClickListener which is notified when the user clicks on the compass.

See also

for more details about the given listener.

Parameters

listener

Throws

if listener is already added.