Package-level declarations

Types

Link copied to clipboard
data class CompassComposableColors(val backgroundColor: Color)
Link copied to clipboard
Link copied to clipboard

Manages the state and behavior of the compass control. Provides the current bearing and handles user interactions.

Link copied to clipboard

Default implementation of CompassViewModel that integrates with CompassControlModel.

Functions

Link copied to clipboard
fun CompassComposable(viewModel: CompassViewModel, colors: CompassComposableColors = CompassComposableDefaults.colors())

A composable that displays a compass indicating the map's current bearing. The compass is hidden when the bearing is zero (aligned with true north) and shown otherwise.