CameraOptions

constructor(position: GeoPoint? = null, @FloatRange(from = 0.0, to = 22.0) zoom: Double? = null, @FloatRange(from = 0.0, to = 90.0) tilt: Double? = null, @FloatRange(from = 0.0, to = 360.0) rotation: Double? = null, @FloatRange(from = 1.0, to = 150.0) fieldOfView: Double? = null)

Parameters

position

GeoPoint of the new camera position.

zoom

Zoom value for the camera. The value shall be clamped by the CameraController.minZoom and the CameraController.maxZoom values. Values start 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, meaning that a value of 0 indicates the camera looking straight down, and 90 means 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.

fieldOfView

Sets the camera field of view in degrees. Valid range is 1.0, 150.0