Route
The route represents the result of the route planning including geometry and generated instructions.
Constructors
The route class contains the route to be navigated, including geometry and generated guidance messages.
The route class contains the route to be navigated, including geometry and generated guidance messages.
Properties
Defines whether it was an optimal route that was computed based on chosen parameters, or it was an alternative route.
Returns the destination of the route.
List containing fork points with other routes.
The offset where incremental computation of route contents was paused.
Information about route creation and the last route update.
The options used to generate this route.
The reason why the route was planned.
Optional extended representation of the route. Route points do not contain duplicates on leg intersections.
List containing every route stop along the route, including the origin and destination.
Functions
Calculates the electric energy used up to routeOffset, starting from the preceding waypoint or origin.
Calculates the remaining battery charge at a given distance along the route.
Calculates the travel time up to a given distance along the route.