Class LatLng


  • public class LatLng
    extends java.lang.Object
    A 2D map position in EPSG:4326 ( or WGS 84 ) projection.
    • Constructor Summary

      Constructors 
      Constructor Description
      LatLng​(double latitude, double longitude)
      Creates a new position based on a latitude and longitude.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double getLatitude()
      In geography, latitude is a geographic coordinate that specifies the north–south position of a point on the Earth's surface.
      double getLongitude()
      Longitude, is a geographic coordinate that specifies the east–west position of a point on the Earth's surface
      void setLatitude​(double latitude)  
      void setLongitude​(double longitude)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LatLng

        public LatLng​(double latitude,
                      double longitude)
        Creates a new position based on a latitude and longitude.
        Parameters:
        latitude -
        longitude -
    • Method Detail

      • getLatitude

        public double getLatitude()
        In geography, latitude is a geographic coordinate that specifies the north–south position of a point on the Earth's surface.
      • setLatitude

        public void setLatitude​(double latitude)
      • getLongitude

        public double getLongitude()
        Longitude, is a geographic coordinate that specifies the east–west position of a point on the Earth's surface
      • setLongitude

        public void setLongitude​(double longitude)