Route object

Route object schema

The Route object represents a calculated route of connected waypoints (start point, stops, and end point) and a set of driving directions. The Route object allows access to properties such as fuel cost, driving distance, driving time, trip time, and the waypoints of the route. Use the properties of the DriverProfile object to set preferences for generating a route such as road-type preferences and daily driving times. This object remains valid after the map is closed and then reopened.

Methods

Calculate

Clear

Properties

Application

Cost

Directions

Distance

DriverProfile

DrivingTime

IsCalculated

Parent

TripTime

Waypoints