RouteManager class abstract

@ingroup navigine_dart_classes @ingroup navigine_dart_managers @brief Class is used for evaluating @see RoutePath "RoutePath" from point to point.

Referenced from @see NavigineSdk "NavigineSdk".

Implemented types
Implementers

Constructors

RouteManager()

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
@brief Method is used to add @see RouteListener "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! @param listener Сorresponding @see RouteListener "RouteListener" class.
addTarget(LocationPoint target) → void
@brief Method is used to add target point in your location. Through @see RouteListener "RouteListener" you will be notified about new paths to target point. @param target finish @see LocationPoint "LocationPoint".
cancelTarget() → void
@brief Method is used for removing current target points to where the routes were built.
clearTargets() → void
@brief Method is used for removing all target points to where the routes were built.
getGraphTag() String
@brief Method is used to get current graph tag (Default: "default").
getGraphTags() List<String>
@brief Method is used to get all graph tags,
makeRoute(LocationPoint from, LocationPoint to) RoutePath
@brief Method is used to build a route between points about evaluated @see RoutePath "RoutePath" from your position to target point. @param from starting @see LocationPoint "LocationPoint". @param to destination @see LocationPoint "LocationPoint". @return @see RoutePath "RoutePath" from starting to destination point.
makeRoutes(LocationPoint from, List<LocationPoint> to) List<RoutePath>
@brief Method is used to build a route between the starting point and several destination points @param from starting @see LocationPoint "LocationPoint". @param to destination list of @see LocationPoint "LocationPoint"s. @return vector of @see RoutePath "RoutePath"s from starting to destination point.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeRouteListener(RouteListener listener) → void
@brief Method is used for removing previously added @see RouteListener "RouteListener" class element. @param listener Сorresponding @see RouteListener "RouteListener" class to remove.
setGraphTag(String tag) → void
@brief Method is used to select graph tag (Default: "default").
setTarget(LocationPoint target) → void
@brief Method is used to set target point in your location. Through @see RouteListener "RouteListener" you will be notified about new paths to target point. @param target finish @see LocationPoint "LocationPoint".
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited