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

public Class ElevationResult

extends JavascriptObject
Class Inheritance
Imports
com.dlsc.gmapsfx.javascript.JavascriptObject, com.dlsc.gmapsfx.javascript.object.GMapObjectType, .LatLong, netscape.javascript.JSObject

Encapsulates the response from the ElevationService for one particular location.
Author
Geoff Capper

Field Summary

Modifier and TypeField and Description
private LatLong
Inherited from com.dlsc.gmapsfx.javascript.JavascriptObject:
jsObjectobjectCounterpeerRegistryruntimevariableName

Constructor Summary

AccessConstructor and Description
public
ElevationResult(JSObject jsObject)
References Deprecated JSObject is deprecated or references (maybe indirectly) at least one deprecated element.

Method Summary

Modifier and TypeMethod and Description
public double

Returns:

The elevation in metres.
getElevation
()

The elevation returned from the ElevationService.

public LatLong
getLocation()

The location for this elevation.

public double
getResolution()

The resolution for the elevation, which is the distance in metres between the points that were used to interpolate the elevation.

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

Field Detail

locationback to summary
private LatLong location

Constructor Detail

ElevationResultback to summary
public ElevationResult(JSObject jsObject)

References Deprecated

JSObject is deprecated or references (maybe indirectly) at least one deprecated element.

See corresponding docs for further information.

Method Detail

getElevationback to summary
public double getElevation()

The elevation returned from the ElevationService.

Returns:double

The elevation in metres.

getLocationback to summary
public LatLong getLocation()

The location for this elevation.

getResolutionback to summary
public double getResolution()

The resolution for the elevation, which is the distance in metres between the points that were used to interpolate the elevation.