Top Description Fields Constructors Methods
com.dlsc.gmapsfx.service.elevation

public Class ElevationService

extends JavascriptObject
Class Inheritance
Imports
com.dlsc.gmapsfx.javascript.JavascriptObject, com.dlsc.gmapsfx.javascript.object.GMapObjectType, netscape.javascript.JSObject, org.slf4j.Logger, .LoggerFactory

Makes a request to the Google Maps Elevation Service.

Instances of this class are not safe for re-use at this stage. A new one should be created for each request.

Author
Geoff Capper

Field Summary

Modifier and TypeField and Description
private ElevationServiceCallback
private static final Logger
Inherited from com.dlsc.gmapsfx.javascript.JavascriptObject:
jsObjectobjectCounterpeerRegistryruntimevariableName

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
getElevationAlongPath(PathElevationRequest req, ElevationServiceCallback callback)

Create a request for elevations for samples along a path.

public void
getElevationForLocations(LocationElevationRequest req, ElevationServiceCallback callback)

Create a request for elevations for multiple locations.

public void
processResponse(Object results, Object status)

Processess the Javascript response and generates the required objects that are then passed back to the original callback.

Inherited from com.dlsc.gmapsfx.javascript.JavascriptObject:
checkBooleancheckIntegercheckUndefinedgetJSObjectgetNextVariableNamegetPropertygetPropertygetVariableNameinvokeJavascriptinvokeJavascriptinvokeJavascriptReturnValueinvokeJavascriptReturnValueisMemberDefinedsetPropertysetPropertysetProperty

Field Detail

callbackback to summary
private ElevationServiceCallback callback
LOGback to summary
private static final Logger LOG

Constructor Detail

ElevationServiceback to summary
public ElevationService()

Method Detail

getElevationAlongPathback to summary
public void getElevationAlongPath(PathElevationRequest req, ElevationServiceCallback callback)

Create a request for elevations for samples along a path.

getElevationForLocationsback to summary
public void getElevationForLocations(LocationElevationRequest req, ElevationServiceCallback callback)

Create a request for elevations for multiple locations.

processResponseback to summary
public void processResponse(Object results, Object status)

Processess the Javascript response and generates the required objects that are then passed back to the original callback.