Route
The route.
Contents
- Legs
-
A leg is a section of a route from one waypoint to the next. A leg could be of type Vehicle, Pedestrian or Ferry. Legs of different types could occur together within a single route. For example, a car employing the use of a Ferry will contain Vehicle legs corresponding to journey on land, and Ferry legs corresponding to the journey via Ferry.
Type: Array of RouteLeg objects
Required: Yes
- MajorRoadLabels
-
Important labels including names and route numbers that differentiate the current route from the alternatives presented.
Type: Array of RouteMajorRoadLabel objects
Array Members: Minimum number of 0 items. Maximum number of 2 items.
Required: Yes
- Summary
-
Summarized details of the leg.
Type: RouteSummary object
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: