public class DirectionsRoute extends JavaScriptObject
| Modifier | Constructor and Description |
|---|---|
protected |
DirectionsRoute()
use newInstance();
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toStringpublic 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()
Copyright © 2011-2013 GWT Maps API V3. All Rights Reserved.