CompassComposable
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.
The UI and behavior are driven by the provided CompassViewModel, which can be customized or replaced by the user.
Parameters
viewModel
The view model that manages compass state and user interactions.
colors
The colors to apply for the visual representation.