Class is used for evaluating RoutePath from point to point.
More...
Inherits Finalizable.
Class is used for evaluating RoutePath from point to point.
Referenced from NavigineSdk.
Definition at line 21 of file route_manager.dart.
◆ addRouteListener()
Method is used to add RouteListener class element which will notify about evaluated route path from your position to target point.
- Note
- Do not forget to remove listener if it is no longer needed!
- Parameters
-
◆ addTarget()
Method is used to add target point in your location. Through RouteListener you will be notified about new paths to target point.
- Parameters
-
◆ cancelTarget()
void RouteManager.cancelTarget |
( |
| ) |
|
Method is used for removing current target points to where the routes were built.
◆ clearTargets()
void RouteManager.clearTargets |
( |
| ) |
|
Method is used for removing all target points to where the routes were built.
◆ getGraphTag()
String RouteManager.getGraphTag |
( |
| ) |
|
Method is used to get current graph tag (Default: "default").
◆ getGraphTags()
List< String > RouteManager.getGraphTags |
( |
| ) |
|
Method is used to get all graph tags,.
◆ makeRoute()
Method is used to build a route between points about evaluated RoutePath from your position to target point.
- Parameters
-
- Returns
- RoutePath from starting to destination point.
◆ makeRoutes()
Method is used to build a route between the starting point and several destination points.
- Parameters
-
- Returns
- vector of RoutePaths from starting to destination point.
◆ removeRouteListener()
Method is used for removing previously added RouteListener class element.
- Parameters
-
◆ setGraphTag()
void RouteManager.setGraphTag |
( |
String | tag | ) |
|
Method is used to select graph tag (Default: "default").
◆ setTarget()
Method is used to set target point in your location. Through RouteListener you will be notified about new paths to target point.
- Parameters
-
The documentation for this class was generated from the following file: