public class ElevationService extends JavaScriptObject
Modifier | Constructor and Description |
---|---|
protected |
ElevationService()
use newInstance();
|
Modifier and Type | Method and Description |
---|---|
void |
getElevationAlongPath(PathElevationRequest request,
ElevationServiceHandler handler)
Makes an elevation request along a path, where the elevation data are returned as distance-based samples along that path.
|
void |
getElevationForLocations(LocationElevationRequest request,
ElevationServiceHandler handler)
Makes an elevation request for a list of discrete locations.
|
static ElevationService |
newInstance()
Creates a new instance of a ElevationService that sends elevation queries to Google servers.
|
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString
public static final ElevationService newInstance()
public final void getElevationAlongPath(PathElevationRequest request, ElevationServiceHandler handler)
request
- handler
- public final void getElevationForLocations(LocationElevationRequest request, ElevationServiceHandler handler)
request
- handler
- Copyright © 2011-2013 Gone Vertical LLC. All Rights Reserved.