com.google.maps.gwt.client
Class ElevationResult

java.lang.Object
  extended by JavaScriptObject
      extended by com.google.maps.gwt.client.ElevationResult

public class ElevationResult
extends JavaScriptObject

The result of an ElevationService request, consisting of the set of elevation coordinates and their elevation values. Note that a single request may produce multiple ElevationResult s. THIS SOURCE CODE IS GENERATED, DO NOT MODIFY


Constructor Summary
protected ElevationResult()
          Protected constructor avoids default public constructor.
 
Method Summary
static ElevationResult create()
           
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElevationResult

protected ElevationResult()
Protected constructor avoids default public constructor.

Method Detail

create

public static final ElevationResult create()

getElevation

public final double getElevation()
The elevation of this point on Earth, in meters above sea level.


getLocation

public final LatLng getLocation()
The location of this elevation result.


getResolution

public final double getResolution()
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.