|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectJavaScriptObject
com.google.maps.gwt.client.ElevationService
public class ElevationService
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 |
---|
protected ElevationService()
Method Detail |
---|
public static ElevationService create()
ElevationService
that sends elevation queries to Google servers.
public final void getElevationAlongPath(PathElevationRequest request, ElevationService.GetElevationAlongPathCallback callback)
public final void getElevationForLocations(LocationElevationRequest request, ElevationService.Callback callback)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |