Package-level declarations


Link copied to clipboard
fun Compass(rotation: Double, modifier: Modifier = Modifier, autoHide: Boolean = true, size: Dp = 50.dp, color: Color = Color.White, borderColor: Color = Color.Gray, onClick: () -> Unit = {})

Creates a Compass that shows the geographic orientation of a ComposableMap using the rotation property. By default, the compass hides when the map is pointing to it's default North orientation. This auto hide behavior can be changed using the autoHide property. Size and color of the icon can be customized using size and color. Resetting behavior can be implemented using the onClick callback which is raised when the Compass is tapped.