Online Maps  v3
OnlineMapsGoogleDirectionsResult Class Reference

Result of Google Direction API. More...

Classes

class  Fare
 Total fare on route. More...
 
class  GeocodedWaypoint
 Details about the geocoding of origin, destination and waypoints More...
 
class  Leg
 Single leg of the journey from the origin to the destination in the calculated route. More...
 
class  Line
 information about the transit line used in this step. More...
 
class  Route
 Route from the origin to the destination More...
 
class  Step
 Single step of the calculated directions. More...
 
class  TransitAgency
 Information about the operator of the line More...
 
class  TransitDetails
 Additional information that is not relevant for other modes of transportation. More...
 
class  Vehicle
 Type of vehicle. More...
 

Public Attributes

string status
 Metadata on the request. More...
 
string error_message
 When the status code is other than OK, there may be an additional error_message field within the Directions response object.
This field contains more detailed information about the reasons behind the given status code. More...
 
Route[] routes
 Array of routes from the origin to the destination. More...
 
GeocodedWaypoint[] geocoded_waypoints
 Array with details about the geocoding of origin, destination and waypoints. More...
 

Detailed Description

Result of Google Direction API.

Member Data Documentation

◆ error_message

string OnlineMapsGoogleDirectionsResult.error_message

When the status code is other than OK, there may be an additional error_message field within the Directions response object.
This field contains more detailed information about the reasons behind the given status code.

◆ geocoded_waypoints

GeocodedWaypoint [] OnlineMapsGoogleDirectionsResult.geocoded_waypoints

Array with details about the geocoding of origin, destination and waypoints.

◆ routes

Route [] OnlineMapsGoogleDirectionsResult.routes

Array of routes from the origin to the destination.

◆ status

string OnlineMapsGoogleDirectionsResult.status

Metadata on the request.