MMKLocation
class MMKLocation : NSObject |
The geographical position of the object.
Summary
Class methods
init(position: MMKPoint, |
Properties
var accuracy: NSNumber? { get } |
var altitude: NSNumber? { get } |
var altitudeAccuracy: NSNumber? { get } |
var heading: NSNumber? { get } |
var speed: NSNumber? { get } |
var absoluteTimestamp: Date { get } |
var relativeTimestamp: Date { get } |
Class methods
init(position:accuracy:altitude:altitudeAccuracy:heading:speed:absoluteTimestamp:relativeTimestamp:)
init(position: MMKPoint, |
Properties
position
var position: MMKPoint { get } |
The geographical position.
accuracy
var accuracy: NSNumber? { get } |
Location accuracy in meters.
Optional field, can be nil.
altitude
var altitude: NSNumber? { get } |
The altitude of the location in meters.
Optional field, can be nil.
altitudeAccuracy
var altitudeAccuracy: NSNumber? { get } |
The accuracy of the altitude in meters.
Optional field, can be nil.
heading
var heading: NSNumber? { get } |
The current heading in degrees relative to true north, clockwise.
Optional field, can be nil.
speed
var speed: NSNumber? { get } |
The speed in meters per second.
Optional field, can be nil.
absoluteTimestamp
var absoluteTimestamp: Date { get } |
Absolute timestamp, in milliseconds since January 1, 1970.
relativeTimestamp
var relativeTimestamp: Date { get } |
Relative timestamp, number of milliseconds passed on steady clock. Use for interval calculation.