Package-level declarations

Types

Link copied to clipboard
data class CameraPosition(val bearing: Double = 0.0, val target: Position = Position(0.0, 0.0), val tilt: Double = 0.0, val zoom: Double = 1.0, val padding: PaddingValues = PaddingValues(0.dp))

Defines how the camera is oriented towards the map.

Link copied to clipboard
data class GestureSettings(val isTiltGesturesEnabled: Boolean = true, val isZoomGesturesEnabled: Boolean = true, val isRotateGesturesEnabled: Boolean = true, val isScrollGesturesEnabled: Boolean = true)

Defines which user map gestures are enabled

Link copied to clipboard
data class OrnamentSettings(val padding: PaddingValues = PaddingValues(0.dp), val isLogoEnabled: Boolean = true, val logoAlignment: Alignment = Alignment.BottomStart, val isAttributionEnabled: Boolean = true, val attributionAlignment: Alignment = Alignment.BottomEnd, val isCompassEnabled: Boolean = true, val compassAlignment: Alignment = Alignment.TopEnd)

Defines which additional UI elements are displayed on top of the map.

Link copied to clipboard
data class VisibleRegion(val farLeft: Position, val farRight: Position, val nearLeft: Position, val nearRight: Position)

Four-sided polygon representing the visible area of the map composable. If the camera has tilt (pitch), this polygon is a trapezoid instead of a rectangle.