MTCameraOptions

@Serializable
class MTCameraOptions

Options for controlling the desired location, zoom, bearing, and pitch of the camera.

Constructors

constructor(center: LngLat, zoom: Double? = null, bearing: Double? = null, pitch: Double? = null)

Initializes camera options with center, zoom, bearing and pitch.

Properties

The bearing of the map, measured in degrees counter-clockwise from north.

Geographical center of the map.

The pitch (tilt) of the map, measured in degrees away from the plane of the screen (0-85).

var zoom: Double?

Zoom level of the map.