Route Object

Represents a route.

Name Type Description
routeLegs RouteLeg[] The legs of the route. Each route leg represents the route between two waypoints.
routePath Location[] An array of locations that makes up the path of the route.