com.google.maps.gwt.client
Class ElevationService

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

public class ElevationService
extends JavaScriptObject

Defines a service class that talks directly to Google servers for requesting elevation data. THIS SOURCE CODE IS GENERATED, DO NOT MODIFY


Nested Class Summary
static interface ElevationService.Callback
          Callback type for handling asynchronous responses from getElevationForLocations.
static interface ElevationService.GetElevationAlongPathCallback
          Callback type for handling asynchronous responses from getElevationAlongPath.
 
Constructor Summary
protected ElevationService()
          Protected constructor avoids default public constructor.
 
Method Summary
static ElevationService create()
          Creates a new instance of a ElevationService that sends elevation queries to Google servers.
 void getElevationAlongPath(PathElevationRequest request, ElevationService.GetElevationAlongPathCallback callback)
          Makes an elevation request along a path, where the elevation data are returned as distance-based samples along that path.
 void getElevationForLocations(LocationElevationRequest request, ElevationService.Callback callback)
          Makes an elevation request for a list of discrete locations.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElevationService

protected ElevationService()
Protected constructor avoids default public constructor.

Method Detail

create

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


getElevationAlongPath

public final void getElevationAlongPath(PathElevationRequest request,
                                        ElevationService.GetElevationAlongPathCallback callback)
Makes an elevation request along a path, where the elevation data are returned as distance-based samples along that path.


getElevationForLocations

public final void getElevationForLocations(LocationElevationRequest request,
                                           ElevationService.Callback callback)
Makes an elevation request for a list of discrete locations.