java.io.Serializable
public class DirectionsRoute
extends java.lang.Object
implements java.io.Serializable
Please see Routes for more detail.
Modifier and Type | Field | Description |
---|---|---|
Bounds |
bounds |
The viewport bounding box of the overview_polyline.
|
java.lang.String |
copyrights |
Copyrights text to be displayed for this route.
|
Fare |
fare |
Information about the fare (that is, the ticket costs) on this route.
|
DirectionsLeg[] |
legs |
Information about legs of the route, between locations within the route.
|
EncodedPolyline |
overviewPolyline |
An approximate (smoothed) path of the resulting directions.
|
java.lang.String |
summary |
A short textual description for the route, suitable for naming and disambiguating the route
from alternatives.
|
java.lang.String[] |
warnings |
Warnings to be displayed when showing these directions.
|
int[] |
waypointOrder |
Indicates the order of any waypoints in the calculated route.
|
Constructor | Description |
---|---|
DirectionsRoute() |
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
toString() |
public java.lang.String summary
public DirectionsLeg[] legs
public int[] waypointOrder
optimize:true
within its waypoints
parameter.public EncodedPolyline overviewPolyline
public Bounds bounds
public java.lang.String copyrights
public Fare fare
public java.lang.String[] warnings