DirectionsResponse.Step
An object that represents a step along a route.
Declaration
object DirectionsResponse.StepProperties
| Name | Type | Description |
|---|---|---|
distanceMeters | integer | Total distance covered by the step, in meters. |
durationSeconds | integer | The estimated time to traverse this step, in seconds. |
instructions | string | The localized instruction string for this step that you can use for display purposes. You can specify the language to receive the response in using the |
stepPathIndex | integer | A pointer to this step’s path. The pointer is in the form of an index into the Step paths are self-contained which implies that the last point of a previous step path along a route is the same as the first point of the next step path. Clients are responsible for avoiding duplication when rendering the point. |
transportType | string | A string that indicates the transport type for this step if it’s different from the |