Route Leg
A route between only two DirectionsWaypoint.
Since
1.0.0
Constructors
Types
Properties
An array of objects describing the administrative boundaries the route leg travels through. Use StepIntersection.adminIndex on the intersection object to look up the admin for each intersection in this array.
A LegAnnotation that contains additional details about each line segment along the route geometry. If you'd like to receiving this, you must request it inside your Directions request before executing the call.
The typical travel time for traversing this RouteLeg. There's a delay along the RouteLeg if you subtract this durationTypical() value from the RouteLeg duration() value and the resulting difference is greater than 0. The delay is because of any number of real-world situations (road repair, traffic jam, etc).