UserLocationManager

Manages the user location indicator displayed on the map.

Properties

Link copied to clipboard
open override val attitudes: Flow<Attitude>

Flow of user attitude updates.

Link copied to clipboard

The camera tracking mode applied to the user location.

Link copied to clipboard
open override val coordinates: Flow<Coordinate>

Flow of user location coordinates.

Link copied to clipboard
open override val errors: Flow<Throwable>

Flow of errors produced by the user location manager.

Link copied to clipboard
Link copied to clipboard
open override val lastCoordinate: Coordinate?

The latest user location coordinate.

Link copied to clipboard

The source of the user location.

Link copied to clipboard

Whether the position the map is showing is still current.

Link copied to clipboard

Flow of changes to locationState.

Link copied to clipboard

The render mode of the user location indicator.

Link copied to clipboard

The style of the user location view.

Functions

Link copied to clipboard
fun addOnCameraTrackingChangedListener(listener: OnCameraTrackingChangedListener)

Adds a listener that gets invoked when camera tracking state changes.

Link copied to clipboard
fun deinit()

Tears down the manager, detaching its listeners and releasing the location source.

Link copied to clipboard
fun removeOnCameraTrackingChangedListener(listener: OnCameraTrackingChangedListener)

Removes a listener that gets invoked when camera tracking state changes.