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
    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

    Modifier and Type Method Description
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • 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.
  • Constructor Details

  • Method Details

    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object