public class ElevationResult extends MapObject
Constructor and Description |
---|
ElevationResult()
Creates new ElevationResult object.
|
ElevationResult(Map map)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
double |
getElevation()
Returns value of elevation property.
|
LatLng |
getLocation()
Returns value of text location.
|
double |
getResolution()
Returns value of resolution property.
|
void |
setElevation(double value)
Sets new value for elevation property.
|
void |
setLocation(LatLng value)
Sets new value for location property.
|
void |
setResolution(double value)
Sets new value for resolution property.
|
addEventListener, attachObject, cacheProperties, cacheProperties, clone, createJSValue, dispose, fromJSValue, getJSObject, getMap, getProperties, invokeMethod, propertyChanged, removeEventListener, updateProperty
public ElevationResult()
@Deprecated public ElevationResult(Map map)
map
- owner Map objectpublic double getElevation()
Represents the elevation of this point on Earth, in meters above sea level.
setElevation(double)
public void setElevation(double value)
value
- new property valuegetElevation()
public double getResolution()
Represents the distance, in meters, between sample points from which the elevation was interpolated. This property will be missing if the resolution is not known. Note that elevation data becomes more coarse (larger resolution values) when multiple points are passed. To obtain the most accurate elevation value for a point, it should be queried independently.
setResolution(double)
public void setResolution(double value)
value
- new property valuegetResolution()
public LatLng getLocation()
Represents the location of this elevation result.
setLocation(com.teamdev.jxmaps.LatLng)
public void setLocation(LatLng value)
value
- new property valuegetLocation()