[−][src]Module google_maps::directions::response
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
directions_distance | A representation of distance as a numeric value and a display string. |
directions_duration | A representation of duration as a numeric value and a display string. |
driving_maneuver | Contains the |
geocoded_waypoint | |
geocoder_status | Contains the |
leg | A single leg consisting of a set of steps in a DirectionsResult. Some fields in the leg may not be returned for all requests. |
overview_polyline | An encoded polyline representation of the route. |
polyline | An encoded polyline representation of the route. |
route | A single route containing a set of legs. |
status | Contains the |
step | Each element in the |
transit_agency | Transit directions return additional information |
transit_currency | Contains the |
transit_details | Transit directions return additional information. |
transit_fare | Contains the total fare (that is, the total ticket costs) on this route. |
transit_line | Contains the type of vehicle used on this line. |
transit_stop | Contains information about the stop/station for this part of the trip. |
transit_time | A representation of time as a Date object, a localized string, and a time zone. |
transit_vehicle | Contains the type of vehicle used on this line. |
Structs
Response | Directions responses contain the following root elements. |