Online Maps v3
Loading...
Searching...
No Matches
OnlineMapsGoogleDirectionsResult.Route Class Reference

Route from the origin to the destination. More...

Public Attributes

string summary
 Short textual description for the route, suitable for naming and disambiguating the route from alternatives.
 
Leg[] legs
 Array which contains information about a leg of the route, between two locations within the given route.
A separate leg will be present for each waypoint or destination specified.
 
string copyrights
 Copyrights text to be displayed for this route. You must handle and display this information yourself.
 
int[] waypoint_order
 Array indicating the order of any waypoints in the calculated route.
 
Vector2[] overview_polyline
 Single points object that holds an encoded polyline representation of the route.
This polyline is an approximate (smoothed) path of the resulting directions.
 
OnlineMapsVector2d[] overview_polylineD
 Single points object that holds an encoded polyline representation of the route.
This polyline is an approximate (smoothed) path of the resulting directions.
 
OnlineMapsGPXObject.Bounds bounds
 Viewport bounding box of the overview_polyline.
 
string[] warnings
 Array of warnings to be displayed when showing these directions. You must handle and display these warnings yourself.
 
Fare fare
 If present, contains the total fare (that is, the total ticket costs) on this route.
This property is only returned for transit requests and only for routes where fare information is available for all transit legs.
 

Detailed Description

Route from the origin to the destination.