Class is used for evaluating RoutePath from point to point. More...
Inherits Finalizable.
Public Member Functions | |
| RoutePath | makeRoute (LocationPoint from, LocationPoint to) |
| Method is used to build a route between points about evaluated RoutePath from your position to target point. | |
| List< RoutePath > | makeRoutes (LocationPoint from, List< LocationPoint > to) |
| Method is used to build a route between the starting point and several destination points. | |
| void | setTarget (LocationPoint target) |
| Method is used to set target point in your location. Through RouteListener you will be notified about new paths to target point. | |
| void | addTarget (LocationPoint target) |
| 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 (String tag) |
| Method is used to select graph tag (Default: "default"). | |
| String | getGraphTag () |
| Method is used to get current graph tag (Default: "default"). | |
| List< String > | getGraphTags () |
| Method is used to get all graph tags,. | |
| void | addRouteListener (RouteListener listener) |
| Method is used to add RouteListener class element which will notify about evaluated route path from your position to target point. | |
| void | removeRouteListener (RouteListener listener) |
| 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 21 of file route_manager.dart.
| void RouteManager.addRouteListener | ( | RouteListener | 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. |
Dart code snippet:
| void RouteManager.addTarget | ( | LocationPoint | 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. |
Dart code snippet:
| void RouteManager.cancelTarget | ( | ) |
Method is used for removing current target points to where the routes were built.
Dart code snippet:
| void RouteManager.clearTargets | ( | ) |
Method is used for removing all target points to where the routes were built.
Dart code snippet:
| String RouteManager.getGraphTag | ( | ) |
Method is used to get current graph tag (Default: "default").
Dart code snippet:
| List< String > RouteManager.getGraphTags | ( | ) |
Method is used to get all graph tags,.
Dart code snippet:
| RoutePath RouteManager.makeRoute | ( | LocationPoint | from, |
| LocationPoint | 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. |
Dart code snippet:
| List< RoutePath > RouteManager.makeRoutes | ( | LocationPoint | from, |
| List< LocationPoint > | to ) |
Method is used to build a route between the starting point and several destination points.
| from | starting LocationPoint. |
| to | destination list of LocationPoints. |
Dart code snippet:
| void RouteManager.removeRouteListener | ( | RouteListener | listener | ) |
Method is used for removing previously added RouteListener class element.
| listener | Сorresponding RouteListener class to remove. |
Dart code snippet:
| void RouteManager.setGraphTag | ( | String | tag | ) |
Method is used to select graph tag (Default: "default").
Dart code snippet:
| void RouteManager.setTarget | ( | LocationPoint | 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. |
Dart code snippet: