MMKCameraPosition
class MMKCameraPosition : NSObject |
The position of the camera.
Summary
Class methods
init(target: MMKPoint, zoom: Float, azimuth: Float, tilt: Float) |
Properties
var target: MMKPoint { get } |
var zoom: Float { get } |
var azimuth: Float { get } |
var tilt: Float { get } |
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.