Skip to content

Latest commit

 

History

History
64 lines (33 loc) · 2.13 KB

DirectionsStep.md

File metadata and controls

64 lines (33 loc) · 2.13 KB

See html formatted version

DirectionsStep interface

google.maps.DirectionsStep interface

A single DirectionsStep in a DirectionsResult. Some fields may be undefined. Note that though this object is "JSON-like," it is not strictly JSON, as it directly includes LatLng objects.

Properties

undefined

Type:  Distance

The distance covered by this step. This property may be undefined as the distance may be unknown.

undefined

Type:  Duration

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.

undefined

Type:  LatLng

The ending location of this step.

undefined

Type:  string

Instructions for this step.

undefined

Type:  Array<LatLng>

A sequence of LatLngs describing the course of this step.

undefined

Type:  LatLng

The starting location of this step.

undefined

Type:  Array<DirectionsStep>

Sub-steps of this step. Specified for non-transit sections of transit routes.

undefined

Type:  TransitDetails

Transit-specific details about this step. This property will be undefined unless the travel mode of this step is TRANSIT.

undefined

Type:  TravelMode

The mode of travel used in this step.