CompassComposable

fun CompassComposable(map: Map, 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.

Parameters

map

The map object to which the compass is applied.

iconImageVector

The icon representing the compass.

colors

The colors to apply for the visual representation.