Properties:
Name | Type | Attributes | Description |
---|---|---|---|
duration |
Object
|
||
text |
string
|
||
value |
number
|
||
distance |
Object
|
||
text |
string
|
||
value |
number
|
||
end_context |
StepContext
|
<nullable> |
Provides context for the end_location. |
end_location |
LatLngLiteral
|
||
geometry |
Geometry
|
The geometry is a GeoJSON LineString. |
|
highway |
string
|
||
instructions |
string
|
||
route_context |
string
|
||
maneuver |
'straight'
|
'turn-left'
|
'turn-right'
|
'turn-sharp-left'
|
'turn-sharp-right'
|
'turn-slight-left'
|
'turn-slight-right'
|
'uturn-left'
|
'uturn-right'
|
null
|
The maneuver type for the step. |
|
start_context |
StepContext
|
<nullable> |
Provides context for the start_location. |
start_location |
LatLngLiteral
|
||
steps |
Array.<Step>
|
<nullable> |
|
travel_mode |
string
|
||
transit_information |
Object
|
<nullable> |
Public transportation information. *Only supported by Google Maps Directions. See TransitInformation |
- See: