Module google_maps::directions::response [−][src]
Expand description
Resources (enums, structs) for processing the Directions API response from the Google Maps Platform. Look in here for more information about the data returned from Google’s server and how to parse it with your program.
Modules
A representation of distance as a numeric value and a display string.
A representation of duration as a numeric value and a display string.
Contains the DrivingManeuver
enum and its associated traits. It is often used
to determine which icon to display for the current step.
Contains the GeocoderStatus
enum and its associated traits. It indicates
the status resulting from geocoding operations.
A single leg consisting of a set of steps in a DirectionsResult. Some fields in the leg may not be returned for all requests.
An encoded polyline representation of the route.
An encoded polyline representation of the route.
A single route containing a set of legs.
Contains the Status
enum and its associated traits. It may contain
debugging information to help you track down why the service request failed.
Each element in the steps
array defines a single step of the calculated
directions. A step is the most atomic unit of a direction’s route.
Transit directions return additional information
Contains the TransitCurrency
enum and its associated traits. It is used to
specify a currency. Included for use with the transit fares returned by
Google Maps Directions API.
Transit directions return additional information.
Contains the total fare (that is, the total ticket costs) on this route.
Contains the type of vehicle used on this line.
Contains information about the stop/station for this part of the trip.
A representation of time as a Date object, a localized string, and a time zone.
Contains the type of vehicle used on this line.
Structs
Directions responses contain the following root elements.