Follow us on GitHub

com.google.gwt.maps.client.services
Class DistanceMatrixService

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

public class DistanceMatrixService
extends JavaScriptObject

A service for computing distances between multiple origins and destinations.

See DistanceMatrixService API Doc


Constructor Summary
protected DistanceMatrixService()
          use newInstance();
 
Method Summary
 void getDistanceMatrix(DistanceMatrixRequest request, DistanceMatrixRequestHandler handler)
           
static DistanceMatrixService newInstance()
          Creates a new instance of a DistanceMatrixService that sends distance matrix queries to Google servers.
 
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

DistanceMatrixService

protected DistanceMatrixService()
use newInstance();

Method Detail

newInstance

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


getDistanceMatrix

public final void getDistanceMatrix(DistanceMatrixRequest request,
                                    DistanceMatrixRequestHandler handler)


Follow us on GitHub

Copyright © 2011-2012 Gone Vertical LLC. All Rights Reserved.