Navmii SDK
2.2.0
Write yourself a navigation system in iOS
|
Inherits <NSObject>, and <NSObject>.
Instance Methods | |
(instancetype) | - NS_UNAVAILABLE |
(instancetype) | - initWithCoordinates: |
(instancetype) | - initWithCoordinates:course: |
(instancetype) | - initWithPosition: |
(nullable instancetype) | - NS_UNAVAILABLE |
(nullable instancetype) | - initWithCoordinates: |
(nullable instancetype) | - initWithCoordinates:course: |
(nullable instancetype) | - initWithPosition: |
Class Methods | |
(instancetype) | + NS_UNAVAILABLE |
(instancetype) | + routePlanPointWithCoordinates: |
(instancetype) | + routePlanPointWithCoordinates:course: |
(instancetype) | + routePlanPointWithPosition: |
(nullable instancetype) | + NS_UNAVAILABLE |
(nullable instancetype) | + routePlanPointWithCoordinates: |
(nullable instancetype) | + routePlanPointWithCoordinates:course: |
(nullable instancetype) | + routePlanPointWithPosition: |
Properties | |
BOOL | snapped |
NMMapCoordinates * | coordinates |
float | course |
Interface describing route plan point.
- (nullable instancetype) initWithCoordinates: | (nonnull NMMapCoordinates *) | coordinates |
- (instancetype) initWithCoordinates: | (nonnull NMMapCoordinates *) | coordinates |
- (nullable instancetype) initWithCoordinates: | (nonnull NMMapCoordinates *) | coordinates | |
course: | (float) | course | |
Initializes route plan point with the specified coordinates and course. Route plan point is not snapped, therefore snapped property returns 'NO'.
coordinates | @nonnull Route plan point geo coordinates; |
course | Route plan point course from North clockwise. [0..360). |
- (instancetype) initWithCoordinates: | (nonnull NMMapCoordinates *) | coordinates | |
course: | (float) | course | |
Initializes route plan point with the specified coordinates and course. Route plan point is not snapped, therefore snapped property returns 'NO'.
coordinates | @nonnull Route plan point geo coordinates; |
course | Route plan point course from North clockwise. [0..360). |
- (nullable instancetype) initWithPosition: | (nonnull NMPosition *) | position |
Initializes object using the specified position.
position | @nonnull Position to initialize route plan point with. |
- (instancetype) initWithPosition: | (nonnull NMPosition *) | position |
Initializes object using the specified position.
position | @nonnull Position to initialize route plan point with. |
- (nullable instancetype) NS_UNAVAILABLE |
Default initialization is forbidden.
+ (nullable instancetype) NS_UNAVAILABLE |
+ (instancetype) NS_UNAVAILABLE |
- (instancetype) NS_UNAVAILABLE |
Default initialization is forbidden.
+ (nullable instancetype) routePlanPointWithCoordinates: | (nonnull NMMapCoordinates *) | coordinates |
+ (instancetype) routePlanPointWithCoordinates: | (nonnull NMMapCoordinates *) | coordinates |
+ (nullable instancetype) routePlanPointWithCoordinates: | (nonnull NMMapCoordinates *) | coordinates | |
course: | (float) | course | |
Creates route plan point with the specified coordinates and course. Route plan point is not snapped, therefore snapped property returns 'NO'.
coordinates | @nonnull Route plan point geo coordinates; |
course | Route plan point course from North clockwise. [0..360). |
+ (instancetype) routePlanPointWithCoordinates: | (nonnull NMMapCoordinates *) | coordinates | |
course: | (float) | course | |
Creates route plan point with the specified coordinates and course. Route plan point is not snapped, therefore snapped property returns 'NO'.
coordinates | @nonnull Route plan point geo coordinates; |
course | Route plan point course from North clockwise. [0..360). |
+ (nullable instancetype) routePlanPointWithPosition: | (nonnull NMPosition *) | position |
Creates object using the specified position.
position | @nonnull Position to initialize route plan point with. |
+ (instancetype) routePlanPointWithPosition: | (nonnull NMPosition *) | position |
Creates object using the specified position.
position | @nonnull Position to initialize route plan point with. |
|
readnonatomicstrong |
Route plan point geo coordinates.
|
readnonatomicassign |
Route plan point course from North clockwise. [0..360). If course is not available -1.0f is returned.
|
readnonatomicassign |
Indicates whether route plan point considered as snapped. The only way to initialize a snapped route plan point is to construct it from a snapped position using initWithPosition: method.