Interface

Step

Step

Properties:
Name Type Attributes Description
duration Object.<{string: text, number: value}>
distance Object.<{string: text, number: value}>
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 string
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: