Package com.google.maps.model
Class ElevationResult
- java.lang.Object
-
- com.google.maps.model.ElevationResult
-
- All Implemented Interfaces:
java.io.Serializable
public class ElevationResult extends java.lang.Object implements java.io.Serializable
An Elevation API result.Units are in meters, per https://developers.google.com/maps/documentation/elevation/start.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description double
elevation
Elevation in meters.LatLng
location
Location of the elevation data.double
resolution
Maximum distance between data points from which the elevation was interpolated, in meters.
-
Constructor Summary
Constructors Constructor Description ElevationResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
-
-
-
Field Detail
-
elevation
public double elevation
Elevation in meters.
-
location
public LatLng location
Location of the elevation data.
-
resolution
public double resolution
Maximum distance between data points from which the elevation was interpolated, in meters.
-
-