com.google.maps.gwt.client
Class DistanceMatrixService

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

public class DistanceMatrixService
extends JavaScriptObject

A service for computing distances between multiple origins and destinations. THIS SOURCE CODE IS GENERATED, DO NOT MODIFY


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

Constructor Detail

DistanceMatrixService

protected DistanceMatrixService()
Protected constructor avoids default public constructor.

Method Detail

create

public static DistanceMatrixService create()
Creates a new instance of a DistanceMatrixService that sends distance matrix queries to Google servers.


getDistanceMatrix

public final void getDistanceMatrix(DistanceMatrixRequest request,
                                    DistanceMatrixService.Callback callback)
Issues a distance matrix request.