Follow us on GitHub

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

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

public class DirectionsService
extends JavaScriptObject

A service for computing directions between two or more places.

See DirectionsService API Doc


Constructor Summary
protected DirectionsService()
          use newInstance();
 
Method Summary
static DirectionsService newInstance()
          Creates a new instance of a DirectionsService that sends directions queries to Google servers.
 void route(DirectionsRequest request, DirectionsResultHandler handler)
          Issue a directions search request.
 
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

DirectionsService

protected DirectionsService()
use newInstance();

Method Detail

newInstance

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


route

public final void route(DirectionsRequest request,
                        DirectionsResultHandler handler)
Issue a directions search request. TODO I can't test this in dev mode, but seems to be working in production deployed. maps api can't find <__gwt_ObjectId>

Parameters:
request -
handler -


Follow us on GitHub

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