|
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.DirectionsResult
public class DirectionsResult
The directions response retrieved from the directions server. You can render these using a DirectionsRenderer or parse this object and render it yourself. You must display the warnings and copyrights as noted in the Maps API terms of service. Note that though this result is "JSON-like," it is not strictly JSON, as it indirectly includes LatLng objects.
See DirectionsResult API Doc
Constructor Summary | |
---|---|
protected |
DirectionsResult()
use newInstance(); |
Method Summary | |
---|---|
JsArray<DirectionsRoute> |
getRoutes()
An array of DirectionsRoutes, each of which contains information about the legs and steps of which it is composed. |
static DirectionsResult |
newInstance()
An array of DirectionsRoutes, each of which contains information about the legs and steps of which it is composed. |
void |
setRoutes(JsArray<DirectionsRoute> routes)
An array of DirectionsRoutes, each of which contains information about the legs and steps of which it is composed. |
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 DirectionsResult()
Method Detail |
---|
public static final DirectionsResult newInstance()
public final void setRoutes(JsArray<DirectionsRoute> routes)
routes
- public final JsArray<DirectionsRoute> getRoutes()
|
Follow us on GitHub |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |