java.lang.Object
com.dlsc.gmapsfx.javascript.JavascriptObject
com.dlsc.gmapsfx.service.elevation.ElevationResult
public class ElevationResult extends JavascriptObject
Encapsulates the response from the ElevationService for one particular
location.
- Author:
- Geoff Capper
-
Field Summary
Fields inherited from class com.dlsc.gmapsfx.javascript.JavascriptObject
jsObject, objectCounter, peerRegistry, runtime, variableName -
Constructor Summary
Constructors Constructor Description ElevationResult(JSObject jsObject) -
Method Summary
Modifier and Type Method Description doublegetElevation()The elevation returned from the ElevationService.LatLonggetLocation()The location for this elevation.doublegetResolution()The resolution for the elevation, which is the distance in metres between the points that were used to interpolate the elevation.Methods inherited from class com.dlsc.gmapsfx.javascript.JavascriptObject
checkBoolean, checkInteger, checkUndefined, getJSObject, getNextVariableName, getProperty, getProperty, getVariableName, invokeJavascript, invokeJavascript, invokeJavascriptReturnValue, invokeJavascriptReturnValue, isMemberDefined, setProperty, setProperty, setProperty
-
Constructor Details
-
Method Details
-
getElevation
public double getElevation()The elevation returned from the ElevationService.- Returns:
- The elevation in metres.
-
getLocation
The location for this elevation.- Returns:
-
getResolution
public double getResolution()The resolution for the elevation, which is the distance in metres between the points that were used to interpolate the elevation.- Returns:
-