public class ElevationResult extends JavaScriptObject
Modifier | Constructor and Description |
---|---|
protected |
ElevationResult()
this will be generated from the ElevationService
use newInstatnce();
|
Modifier and Type | Method and Description |
---|---|
double |
getElevation()
The elevation of this point on Earth, in meters above sea level.
|
LatLng |
getLocation()
The location of this elevation result.
|
double |
getResolution()
The distance, in meters, between sample points from which the elevation was interpolated.
|
static ElevationResult |
newInstance()
The result of an ElevationService request, consisting of the set of elevation coordinates and their elevation values.
|
void |
setElevation(double elevation)
The elevation of this point on Earth, in meters above sea level.
|
void |
setLocation(LatLng location)
The location of this elevation result.
|
void |
setResolution(double resolution)
The distance, in meters, between sample points from which the elevation was interpolated.
|
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString
protected ElevationResult()
public static final ElevationResult newInstance()
public final void setElevation(double elevation)
elevation
- public final double getElevation()
public final void setLocation(LatLng location)
location
- public final LatLng getLocation()
public final void setResolution(double resolution)
resolution
- public final double getResolution()
Copyright © 2011-2013 Gone Vertical LLC. All Rights Reserved.