DirectionsResponse.Route
An object that represent the components of a single route.
Declaration
object DirectionsResponse.RouteProperties
| Name | Type | Description |
|---|---|---|
distanceMeters | integer | Total distance that the route covers, in meters. |
durationSeconds | integer | The estimated time to traverse this route in seconds. If you’ve specified a |
hasTolls | boolean | When |
name | string | The route name that you can use for display purposes. |
stepIndexes | [integer] | An array of integer values that you can use to determine the number steps along this route. Each value in the array corresponds to an index into the |
transportType | string | A string that represents the mode of transportation the service used to estimate the arrival time. Same as the input query param |