|
Follow us on GitHub |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gwt.core.client.JavaScriptObject
com.google.gwt.maps.client.services.DirectionsRoute
public class DirectionsRoute
A single route containing a set of legs in a DirectionsResult. (This object was formerly known as "DirectionsTrip".) Note that though this object is "JSON-like," it is not strictly JSON, as it directly and indirectly includes LatLng objects.
See DirectionsRoute API Doc
Constructor Summary | |
---|---|
protected |
DirectionsRoute()
use newInstance(); |
Method Summary | |
---|---|
LatLngBounds |
getBounds()
The bounds for this route. |
String |
getCopyrights()
Copyrights text to be displayed for this route. |
JsArray<DirectionsLeg> |
getLegs()
An array of DirectionsLegs, each of which contains information about the steps of which it is composed. |
JsArray<LatLng> |
getOverview_Path()
An array of LatLngs representing the entire course of this route. |
JsArrayString |
getWarnings()
Warnings to be displayed when showing these directions. |
JsArrayInteger |
getWayPoint_Order()
If optimizeWaypoints was set to true, this field will contain the re-ordered permutation of the input waypoints. |
static DirectionsRoute |
newInstance()
A single route containing a set of legs in a DirectionsResult. |
void |
setBounds(LatLngBounds bounds)
The bounds for this route. |
void |
setCopyrights(String copyrights)
Copyrights text to be displayed for this route. |
void |
setLegs(JsArray<DirectionsLeg> legs)
An array of DirectionsLegs, each of which contains information about the steps of which it is composed. |
void |
setOverview_Path(JsArray<LatLng> overview_path)
An array of LatLngs representing the entire course of this route. |
void |
setWarnings(JsArrayString warnings)
Warnings to be displayed when showing these directions. |
void |
setWayPoint_Order(JsArrayInteger waypoint_order)
If optimizeWaypoints was set to true, this field will contain the re-ordered permutation of the input waypoints. |
Methods inherited from class com.google.gwt.core.client.JavaScriptObject |
---|
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected DirectionsRoute()
Method Detail |
---|
public static final DirectionsRoute newInstance()
public final void setBounds(LatLngBounds bounds)
bounds
- public final LatLngBounds getBounds()
public final void setCopyrights(String copyrights)
copyrights
- public final String getCopyrights()
public final void setLegs(JsArray<DirectionsLeg> legs)
legs
- public final JsArray<DirectionsLeg> getLegs()
public final void setOverview_Path(JsArray<LatLng> overview_path)
overview_path
- public final JsArray<LatLng> getOverview_Path()
public final void setWarnings(JsArrayString warnings)
warnings
- public final JsArrayString getWarnings()
public final void setWayPoint_Order(JsArrayInteger waypoint_order)
waypoint_order
- public final JsArrayInteger getWayPoint_Order()
|
Follow us on GitHub |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |