addCurrentLocationButtonClickListener

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

Parameters

listener

See also

for more details about the given listener.

Throws

if listener is already added.