Navmii SDK
2.2.0
Write yourself a navigation system in iOS
|
Inherits <NSObject>.
Instance Methods | |
(nullable instancetype) | - NS_UNAVAILABLE |
(nullable instancetype) | - initWithCoordinates: |
(nullable instancetype) | - initWithCoordinates:course: |
(nullable instancetype) | - initWithCoordinates:altitude: |
(nullable instancetype) | - initWithCoordinates:altitude:course: |
Class Methods | |
(nullable instancetype) | + NS_UNAVAILABLE |
Properties | |
BOOL | snapped |
NMMapCoordinates * | coordinates |
NSNumber * | altitude |
float | course |
Interface describing geo position.
- (nullable instancetype) initWithCoordinates: | (nonnull NMMapCoordinates *) | coordinates |
- (nullable instancetype) initWithCoordinates: | (nonnull NMMapCoordinates *) | coordinates | |
altitude: | (nonnull NSNumber *) | altitude | |
- (nullable instancetype) initWithCoordinates: | (nonnull NMMapCoordinates *) | coordinates | |
altitude: | (nonnull NSNumber *) | altitude | |
course: | (float) | course | |
Initializes object with specified coordinates, altitude and course. Position is not snapped, therefore snapped property returns 'NO'.
coordinates | @nonnull Position geo coordinates; |
altitude | @nonnull Position altidute in meters; |
course | Position course from North clockwise. [0...360). |
- (nullable instancetype) initWithCoordinates: | (nonnull NMMapCoordinates *) | coordinates | |
course: | (float) | course | |
Initializes object with specified coordinates and course. In that case #altidude property returns 'nil'. Position is not snapped, therefore snapped property returns 'NO'.
coordinates | @nonnull Position geo coordinates; |
course | Position course from North clockwise. [0...360). |
- (nullable instancetype) NS_UNAVAILABLE |
Default initialization is forbidden.
+ (nullable instancetype) NS_UNAVAILABLE |
|
readnonatomicstrong |
Geo position altitude. Returns 'nil' if altitude is not available.
|
readnonatomicstrong |
Geo position coordinates.
|
readnonatomicassign |
Geo position course from North clockwise. [0..360). If course is not available -1.0f is returned.
|
readnonatomicassign |
Indicates whether position considered as snapped. The only snapped position source is SDK, there's no way to initialize snapped position using public interface.