CameraOptions

data class CameraOptions(val center: LatLng? = null, val padding: EdgeInsets? = null, val anchor: ScreenCoordinate? = null, val zoom: Double? = null, val bearing: Double? = null, val pitch: Double? = null)(source)

Camera position and orientation options.

Note: center and anchor are mutually exclusive in MapLibre Native. Use the companion object factory methods to create instances correctly.

Constructors

Link copied to clipboard
constructor(center: LatLng? = null, padding: EdgeInsets? = null, anchor: ScreenCoordinate? = null, zoom: Double? = null, bearing: Double? = null, pitch: Double? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val zoom: Double?