com.google.maps.gwt.client
Class DirectionsService

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

public class DirectionsService
extends JavaScriptObject

A service for computing directions between two or more places. THIS SOURCE CODE IS GENERATED, DO NOT MODIFY


Nested Class Summary
static interface DirectionsService.Callback
          Callback type for handling asynchronous responses from route.
 
Constructor Summary
protected DirectionsService()
          Protected constructor avoids default public constructor.
 
Method Summary
static DirectionsService create()
          Creates a new instance of a DirectionsService that sends directions queries to Google servers.
 void route(DirectionsRequest request, DirectionsService.Callback callback)
          Issue a directions search request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectionsService

protected DirectionsService()
Protected constructor avoids default public constructor.

Method Detail

create

public static DirectionsService create()
Creates a new instance of a DirectionsService that sends directions queries to Google servers.


route

public final void route(DirectionsRequest request,
                        DirectionsService.Callback callback)
Issue a directions search request.