CompassComposable

fun CompassComposable(map: Map, colors: CompassComposableColors = CompassComposableDefaults.colors(), shadow: Dp = CompassComposableDefaults.shadow)

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.

Parameters

map

The map object to which the compass is applied.

colors

The colors to apply for the visual representation.

shadow

The elevation shadow to apply to the compass button.