The distance covered by this step. This property may be
undefined
as the distance may be unknown.
The typical time required to perform this step in seconds and in text
form. This property may be undefined
as the duration may be
unknown.
The ending location of this step.
Instructions for this step.
A sequence of LatLng
s describing the course of this step.
The starting location of this step.
Sub-steps of this step. Specified for non-transit sections of transit routes.
Transit-specific details about this step. This property will be undefined
unless the travel mode of this step is TRANSIT
.
The mode of travel used in this step.
Generated using TypeDoc
A single
DirectionsStep
in aDirectionsResult
. Some fields may beundefined
. Note that though this object is "JSON-like," it is not strictly JSON, as it directly includesLatLng
objects.