YMKCameraPosition

class YMKCameraPosition : NSObject

The position of the camera.

Summary

Class methods

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

Properties

var targetYMKPoint { 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: YMKPoint, zoom: Float, azimuth: Float, tilt: Float)


Properties

target

var target: YMKPoint { 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.