Online Maps  v3
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. More...
 
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. More...
 
string copyrights
 Copyrights text to be displayed for this route. You must handle and display this information yourself. More...
 
int[] waypoint_order
 Array indicating the order of any waypoints in the calculated route. More...
 
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. More...
 
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. More...
 
OnlineMapsGPXObject.Bounds bounds
 Viewport bounding box of the overview_polyline. More...
 
string[] warnings
 Array of warnings to be displayed when showing these directions. You must handle and display these warnings yourself. More...
 
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. More...
 

Detailed Description

Route from the origin to the destination

Member Data Documentation

◆ bounds

OnlineMapsGPXObject.Bounds OnlineMapsGoogleDirectionsResult.Route.bounds

Viewport bounding box of the overview_polyline.

◆ copyrights

string OnlineMapsGoogleDirectionsResult.Route.copyrights

Copyrights text to be displayed for this route. You must handle and display this information yourself.

◆ fare

Fare OnlineMapsGoogleDirectionsResult.Route.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.

◆ legs

Leg [] OnlineMapsGoogleDirectionsResult.Route.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.

◆ overview_polyline

Vector2 [] OnlineMapsGoogleDirectionsResult.Route.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.

◆ overview_polylineD

OnlineMapsVector2d [] OnlineMapsGoogleDirectionsResult.Route.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.

◆ summary

string OnlineMapsGoogleDirectionsResult.Route.summary

Short textual description for the route, suitable for naming and disambiguating the route from alternatives.

◆ warnings

string [] OnlineMapsGoogleDirectionsResult.Route.warnings

Array of warnings to be displayed when showing these directions. You must handle and display these warnings yourself.

◆ waypoint_order

int [] OnlineMapsGoogleDirectionsResult.Route.waypoint_order

Array indicating the order of any waypoints in the calculated route.