Class YMKLocation

The geographical position of the object.

Class Methods

Properties

absoluteTimestamp

Absolute timestamp, in milliseconds since January 1, 1970.

accuracy

Location accuracy in meters.

altitude

The altitude of the location in meters.

altitudeAccuracy

The accuracy of the altitude in meters.

heading

The current heading in degrees relative to true north, clockwise.

position

The geographical position.

relativeTimestamp

Relative timestamp, number of milliseconds passed on steady clock.

speed

The speed in meters per second.

Method Detail

+locationWithPosition:accuracy:altitude:altitudeAccuracy:heading:speed:absoluteTimestamp:relativeTimestamp:

+ (nonnull YMKLocation *)locationWithPosition:(nonnull YMKPoint *)position
                                     accuracy:(nullable NSNumber *)accuracy
                                     altitude:(nullable NSNumber *)altitude
                             altitudeAccuracy:(nullable NSNumber *)altitudeAccuracy
                                      heading:(nullable NSNumber *)heading
                                        speed:(nullable NSNumber *)speed
                            absoluteTimestamp:(nonnull NSDate *)absoluteTimestamp
                            relativeTimestamp:(nonnull NSDate *)relativeTimestamp 

Property Detail

absoluteTimestamp

(assign, readonly) NSDate * absoluteTimestamp

Absolute timestamp, in milliseconds since January 1, 1970.

accuracy

(assign, readonly) NSNumber * accuracy

Location accuracy in meters.

Optional property, can be null.

altitude

(assign, readonly) NSNumber * altitude

The altitude of the location in meters.

Optional property, can be null.

altitudeAccuracy

(assign, readonly) NSNumber * altitudeAccuracy

The accuracy of the altitude in meters.

Optional property, can be null.

heading

(assign, readonly) NSNumber * heading

The current heading in degrees relative to true north, clockwise.

Optional property, can be null.

position

(assign, readonly) YMKPoint * position

The geographical position.

relativeTimestamp

(assign, readonly) NSDate * relativeTimestamp

Relative timestamp, number of milliseconds passed on steady clock.

Use for interval calculation.

speed

(assign, readonly) NSNumber * speed

The speed in meters per second.

Optional property, can be null.