Package-level declarations

Types

Link copied to clipboard
class DefaultMyLocationViewModel(map: Map, onPermissionRequest: () -> Unit = {}) : MyLocationViewModel

Default implementation of MyLocationViewModel.

Link copied to clipboard
data class MyLocationComposableColors(val iconFollowModeOnColor: Color, val iconFollowModeOffColor: Color, val iconMyLocationDisabledColor: Color, val iconDirectionBackgroundColor: Color, val backgroundColor: Color, val shadowAmbientColor: Color, val shadowSpotColor: Color)
Link copied to clipboard

Manages the state and behavior of the My Location control. Provides information about the current follow mode, permission status, and handles user interactions.

Functions

Link copied to clipboard
fun MyLocationComposable(viewModel: MyLocationViewModel, colors: MyLocationComposableColors = MyLocationComposableDefaults.colors())

A composable to control follow mode.