RouteManager class abstract
Class is used for evaluating RoutePath from point to point. Referenced from NavigineSdk.
- Implemented types
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addRouteListener(
RouteListener listener) → void -
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!
listenerCorresponding RouteListener class. -
addTarget(
LocationPoint target) → void -
Method is used to add target point in your location.
Through RouteListener you will be notified about new paths to target point.
targetfinish LocationPoint. -
cancelTarget(
) → void - Method is used for removing current target points to where the routes were built.
-
clearTargets(
) → void - Method is used for removing all target points to where the routes were built.
-
getGraphTag(
) → String - Method is used to get current graph tag (Default: "default").
-
getGraphTags(
) → List< String> - Method is used to get all graph tags,
-
makeRoute(
LocationPoint from, LocationPoint to) → RoutePath -
Method is used to build a route between points
about evaluated RoutePath from your position to target point.
fromstarting LocationPoint.todestination LocationPoint. Returns RoutePath from starting to destination point. -
makeRoutes(
LocationPoint from, List< LocationPoint> to) → List<RoutePath> -
Method is used to build a route between the starting point and several destination points
fromstarting LocationPoint.todestination list of LocationPoints. Returns vector of RoutePaths from starting to destination point. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
removeRouteListener(
RouteListener listener) → void -
Method is used for removing previously added RouteListener class element.
listenerCorresponding RouteListener class to remove. -
setGraphTag(
String tag) → void - Method is used to select graph tag (Default: "default").
-
setTarget(
LocationPoint target) → void -
Method is used to set target point in your location.
Through RouteListener you will be notified about new paths to target point.
targetfinish LocationPoint. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited