com.google.maps.gwt.client
Class DirectionsResult

java.lang.Object
  extended by JavaScriptObject
      extended by com.google.maps.gwt.client.DirectionsResult

public class DirectionsResult
extends JavaScriptObject

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. THIS SOURCE CODE IS GENERATED, DO NOT MODIFY


Constructor Summary
protected DirectionsResult()
          Protected constructor avoids default public constructor.
 
Method Summary
static DirectionsResult create()
           
  getRoutes()
          An array of DirectionsRoute s, each of which contains information about the legs and steps of which it is composed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectionsResult

protected DirectionsResult()
Protected constructor avoids default public constructor.

Method Detail

create

public static final DirectionsResult create()

getRoutes

public final  getRoutes()
An array of DirectionsRoute s, each of which contains information about the legs and steps of which it is composed. There will only be one route unless the DirectionsRequest was made with provideRouteAlternatives set to true . (This property was formerly known as "trips".)