CurrentLocationButton

Defines the properties of a current location button.

Types

Link copied to clipboard

Defines visibility behavior of the CurrentLocationButton.

Properties

Link copied to clipboard
abstract var icon: Int

Defines the icon that is displayed when the map is not centered on the user location.

Link copied to clipboard
abstract val isVisible: Boolean

Reports whether the view is currently visible on the screen.

Link copied to clipboard
abstract var margin: Margin

Defines the margin of the button.

Link copied to clipboard

Defines the visibility policy of the current location button.

Functions

Link copied to clipboard

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