Class is used for evaluating RoutePath from point to point. More...
#include <com/navigine/idl/objc/NCRouteManager.h>
Inherits NSObject.
Instance Methods | |
| (nullable NCRoutePath *) | - makeRoute:to: |
| Method is used to build a route between points about evaluated RoutePath from your position to target point. | |
| (nonnull NSArray< NCRoutePath * > *) | - makeRoutes:to: |
| Method is used to build a route between the starting point and several destination points. | |
| (void) | - setTarget: |
| Method is used to set target point in your location. Through RouteListener you will be notified about new paths to target point. | |
| (void) | - addTarget: |
| Method is used to add target point in your location. Through RouteListener you will be notified about new paths to target point. | |
| (void) | - cancelTarget |
| Method is used for removing current target points to where the routes were built. | |
| (void) | - clearTargets |
| Method is used for removing all target points to where the routes were built. | |
| (void) | - setGraphTag: |
| Method is used to select graph tag (Default: "default"). | |
| (nonnull NSString *) | - getGraphTag |
| Method is used to get current graph tag (Default: "default"). | |
| (nonnull NSArray< NSString * > *) | - getGraphTags |
| Method is used to get all graph tags,. | |
| (void) | - addRouteListener: |
| Method is used to add RouteListener class element which will notify about evaluated route path from your position to target point. | |
| (void) | - removeRouteListener: |
| Method is used for removing previously added RouteListener class element. | |
Class is used for evaluating RoutePath from point to point.
Referenced from NavigineSdk.
Definition at line 20 of file NCRouteManager.h.
| - (void) addRouteListener: | (nullable id< NCRouteListener >) | listener |
Method is used to add RouteListener class element which will notify about evaluated route path from your position to target point.
| listener | Сorresponding RouteListener class. |
Swift code snippet:
Objective C code snippet:
| - (void) addTarget: | (nonnull NCLocationPoint *) | target |
Method is used to add target point in your location. Through RouteListener you will be notified about new paths to target point.
| target | finish LocationPoint. |
Swift code snippet:
Objective C code snippet:
| - (void) cancelTarget |
Method is used for removing current target points to where the routes were built.
Swift code snippet:
Objective C code snippet:
| - (void) clearTargets |
Method is used for removing all target points to where the routes were built.
Swift code snippet:
Objective C code snippet:
| - (nonnull NSString *) getGraphTag |
Method is used to get current graph tag (Default: "default").
Swift code snippet:
Objective C code snippet:
| - (nonnull NSArray< NSString * > *) getGraphTags |
Method is used to get all graph tags,.
Swift code snippet:
Objective C code snippet:
| - (nullable NCRoutePath *) makeRoute: | (nonnull NCLocationPoint *) | from | |
| to: | (nonnull NCLocationPoint *) | to |
Method is used to build a route between points about evaluated RoutePath from your position to target point.
| from | starting LocationPoint. |
| to | destination LocationPoint. |
Swift code snippet:
Objective C code snippet:
| - (nonnull NSArray< NCRoutePath * > *) makeRoutes: | (nonnull NCLocationPoint *) | from | |
| to: | (nonnull NSArray< NCLocationPoint * > *) | to |
Method is used to build a route between the starting point and several destination points.
| from | starting LocationPoint. |
| to | destination list of LocationPoints. |
Swift code snippet:
Objective C code snippet:
| - (void) removeRouteListener: | (nullable id< NCRouteListener >) | listener |
Method is used for removing previously added RouteListener class element.
| listener | Сorresponding RouteListener class to remove. |
Swift code snippet:
Objective C code snippet:
| - (void) setGraphTag: | (nonnull NSString *) | tag |
Method is used to select graph tag (Default: "default").
Swift code snippet:
Objective C code snippet:
| - (void) setTarget: | (nonnull NCLocationPoint *) | target |
Method is used to set target point in your location. Through RouteListener you will be notified about new paths to target point.
| target | finish LocationPoint. |
Swift code snippet:
Objective C code snippet: