CameraPosition

data class CameraPosition(val coordinates: Coordinates, val zoom: Float, val androidBearing: Float? = null, val androidTilt: Float? = null)

Represents the camera position and orientation of the map.

Parameters

coordinates

The center coordinates of the camera view

zoom

The zoom level of the map (typically 0-20)

androidBearing

The bearing (rotation) of the camera in degrees (Android only)

androidTilt

The tilt angle of the camera in degrees (Android only)

Constructors

Link copied to clipboard
constructor(coordinates: Coordinates, zoom: Float, androidBearing: Float? = null, androidTilt: Float? = null)

Properties

Link copied to clipboard
val androidBearing: Float? = null
Link copied to clipboard
val androidTilt: Float? = null
Link copied to clipboard
Link copied to clipboard
val zoom: Float