CameraPosition

data class CameraPosition

Aggregates all camera position parameters such as position, zoom level, tilt angle, and rotation (aka heading of bearing).

See also

to check how to apply new properties for the camera.

Properties

Link copied to clipboard

Sets the camera field of view (in degrees).

Link copied to clipboard

GeoPoint of the new desired camera position.

Link copied to clipboard

Sets the camera heading. Heading is measured starting at due north and continues clockwise around the compass. Thus, north is 0 degrees, east is 90 degrees, south is 180 degrees, and so on.

Link copied to clipboard

Sets the tilt to the specified angle. The tilt is measured from the nadir, i.e., value of 0 indicates the camera looking straight down, and 90 - straight ahead towards the horizon.

Link copied to clipboard

Zoom value for the camera. The value shall be clamped by the CameraController.minZoom and the CameraController.maxZoom values. Values go from 0 (no zoom) to 22 (fully zoomed in). For example, 15 is building-level zoom.