OrnamentSettings

constructor(padding: PaddingValues = PaddingValues(0.dp), isLogoEnabled: Boolean = true, logoAlignment: Alignment = Alignment.BottomStart, isAttributionEnabled: Boolean = true, attributionAlignment: Alignment = Alignment.BottomEnd, isCompassEnabled: Boolean = true, compassAlignment: Alignment = Alignment.TopEnd)(source)

Parameters

padding

padding of the ornaments to the edge of the map

isLogoEnabled

whether to display the MapLibre logo

logoAlignment

where to place the MapLibre logo

isAttributionEnabled

whether to display copyright attribution information. If true, all attribution for all sources used is displayed. If there is not enough space to conveniently display those, a small button in the shape of an ⓘ will be displayed instead. Tapping on it opens the attribution information in a dialog.

attributionAlignment

where to place the attribution information

isCompassEnabled

whether to display a compass that shows which direction is north. Tapping on the compass will reset the camera rotations to zero.

compassAlignment

where to place the compass