MMKCameraPosition

class MMKCameraPosition : NSObject

The position of the camera.

Summary

Class methods

 init(target: MMKPoint, zoom: Float, azimuth: Float, tilt: Float)

Properties

var targetMMKPoint { get }
The point the camera is looking at

var zoom: Float { get }
Zoom level

var azimuth: Float { get }
Angle between north and the direction of interest on the map plane, in degrees in the range [0, 360)

var tilt: Float { get }
Camera tilt in degrees

Class methods

init(target:zoom:azimuth:tilt:)

 init(target: MMKPoint, zoom: Float, azimuth: Float, tilt: Float)


Properties

target

var target: MMKPoint { get }

The point the camera is looking at.


zoom

var zoom: Float { get }

Zoom level. 0 corresponds to the whole world displayed in a single tile.


azimuth

var azimuth: Float { get }

Angle between north and the direction of interest on the map plane, in degrees in the range [0, 360).


tilt

var tilt: Float { get }

Camera tilt in degrees. 0 means vertical downward.