CameraPosition

data class CameraPosition

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

Important: This is a Public Preview API. It may be changed or removed at any time.

See also

to check how to apply new properties for the camera.

Parameters

position

GeoPoint of the new desired camera position.

zoom

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.

tilt

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.

rotation

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.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard