public class ElevationService extends JavascriptObject
Instances of this class are not safe for re-use at this stage. A new one should be created for each request.
jsObject, objectCounter, peerRegistry, runtime, variableName
Constructor and Description |
---|
ElevationService() |
Modifier and Type | Method and Description |
---|---|
void |
getElevationAlongPath(PathElevationRequest req,
ElevationServiceCallback callback)
Create a request for elevations for samples along a path.
|
void |
getElevationForLocations(LocationElevationRequest req,
ElevationServiceCallback callback)
Create a request for elevations for multiple locations.
|
void |
processResponse(Object results,
Object status)
Processess the Javascript response and generates the required objects
that are then passed back to the original callback.
|
checkBoolean, checkInteger, checkUndefined, getJSObject, getNextVariableName, getProperty, getProperty, getVariableName, invokeJavascript, invokeJavascript, invokeJavascriptReturnValue, invokeJavascriptReturnValue, isMemberDefined, setProperty, setProperty, setProperty
public void getElevationForLocations(LocationElevationRequest req, ElevationServiceCallback callback)
req
- callback
- public void getElevationAlongPath(PathElevationRequest req, ElevationServiceCallback callback)
req
- callback
- Copyright © 2016. All Rights Reserved.