Package ai.nextbillion.maps.model
Class ElevationResult
java.lang.Object
ai.nextbillion.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 doubleelevationElevation in meters.LatLnglocationLocation of the elevation data.doubleresolutionMaximum distance between data points from which the elevation was interpolated, in meters. -
Constructor Summary
Constructors Constructor Description ElevationResult() -
Method Summary
Modifier and Type Method Description java.lang.StringtoString()
-
Field Details
-
elevation
public double elevationElevation in meters. -
location
Location of the elevation data. -
resolution
public double resolutionMaximum distance between data points from which the elevation was interpolated, in meters.
-
-
Constructor Details
-
ElevationResult
public ElevationResult()
-
-
Method Details
-
toString
public java.lang.String toString()- Overrides:
toStringin classjava.lang.Object
-