Navmii SDK
2.2.0
Write yourself a navigation system in iOS
|
Inherits <NSObject>, and <NSCopying>.
Instance Methods | |
(nullable instancetype) | - NS_UNAVAILABLE |
(nullable instancetype) | - initWithCoordinates:durationFromStart: |
(nullable instancetype) | - initWaypointWithCoordinates:durationFromStart: |
(nullable instancetype) | - initWithCoordinates:durationFromStart:isWaypoint: |
Class Methods | |
(nullable instancetype) | + NS_UNAVAILABLE |
(nullable instancetype) | + pointWithCoordinates:durationFromStart: |
(nullable instancetype) | + waypointWithCoordinates:durationFromStart: |
(nullable instancetype) | + pointWithCoordinates:durationFromStart:isWaypoint: |
Properties | |
NMMapCoordinates * | coordinates |
float | durationFromStartInSeconds |
BOOL | isWaypoint |
Interface representing an external route point.
- (nullable instancetype) initWaypointWithCoordinates: | (nonnull NMMapCoordinates *) | coordinates | |
durationFromStart: | (float) | durationFromStartInSeconds | |
Initializes a route waypoint with the specified geo coordinates and duration from the route start point.
coordinates | @nonnull The geo coordinates of a point. |
durationFromStartInSeconds | The duration from the route start point to a point being created, in seconds. |
- (nullable instancetype) initWithCoordinates: | (nonnull NMMapCoordinates *) | coordinates | |
durationFromStart: | (float) | durationFromStartInSeconds | |
Initializes a regular route point with the specified geo coordinates and duration from the route start point.
coordinates | @nonnull The geo coordinates of a point. |
durationFromStartInSeconds | The duration from the route start point to a point being created, in seconds. |
- (nullable instancetype) initWithCoordinates: | (nonnull NMMapCoordinates *) | coordinates | |
durationFromStart: | (float) | durationFromStartInSeconds | |
isWaypoint: | (BOOL) | isWaypoint | |
Initializes a route point with the specified geo coordinates and duration from the route start point.
coordinates | @nonnull The geo coordinates of a point. |
durationFromStartInSeconds | The duration from the route start point to a point being created, in seconds. |
isWaypoint | Indicates whether the point is a regular route point or a waypoint. |
+ (nullable instancetype) NS_UNAVAILABLE |
Default initialization is forbidden.
- (nullable instancetype) NS_UNAVAILABLE |
Default initialization is forbidden.
+ (nullable instancetype) pointWithCoordinates: | (nonnull NMMapCoordinates *) | coordinates | |
durationFromStart: | (float) | durationFromStartInSeconds | |
Creates a regular route point with the specified geo coordinates and duration from the route start point.
coordinates | @nonnull The geo coordinates of a point. |
durationFromStartInSeconds | The duration from the route start point to a point being created, in seconds. |
+ (nullable instancetype) pointWithCoordinates: | (nonnull NMMapCoordinates *) | coordinates | |
durationFromStart: | (float) | durationFromStartInSeconds | |
isWaypoint: | (BOOL) | isWaypoint | |
Creates a route point with the specified geo coordinates and duration from the route start point.
coordinates | @nonnull The geo coordinates of a point. |
durationFromStartInSeconds | The duration from the route start point to a point being created, in seconds. |
isWaypoint | Indicates whether the point is a regular route point or a waypoint. |
+ (nullable instancetype) waypointWithCoordinates: | (nonnull NMMapCoordinates *) | coordinates | |
durationFromStart: | (float) | durationFromStartInSeconds | |
Creates a route waypoint with the specified geo coordinates and duration from the route start point.
coordinates | @nonnull The geo coordinates of a point. |
durationFromStartInSeconds | The duration from the route start point to a point being created, in seconds. |
|
readnonatomicstrong |
The geo coordinates of a route point.
|
readnonatomicassign |
The duration from the route start point to the point, in seconds.
|
readwritenonatomicassign |
Indicates whether the point is a waypoint of a route or a regular route point.
Default value is 'NO'.