Package org.neshan.common.model
Class LatLng
- java.lang.Object
- 
- org.neshan.common.model.LatLng
 
- 
 public class LatLng extends java.lang.ObjectA 2D map position in EPSG:4326 ( or WGS 84 ) projection.
- 
- 
Constructor SummaryConstructors Constructor Description LatLng(double latitude, double longitude)Creates a new position based on a latitude and longitude.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetLatitude()In geography, latitude is a geographic coordinate that specifies the north–south position of a point on the Earth's surface.doublegetLongitude()Longitude, is a geographic coordinate that specifies the east–west position of a point on the Earth's surfacevoidsetLatitude(double latitude)voidsetLongitude(double longitude)
 
- 
- 
- 
Method Detail- 
getLatitudepublic double getLatitude() In geography, latitude is a geographic coordinate that specifies the north–south position of a point on the Earth's surface.
 - 
setLatitudepublic void setLatitude(double latitude) 
 - 
getLongitudepublic double getLongitude() Longitude, is a geographic coordinate that specifies the east–west position of a point on the Earth's surface
 - 
setLongitudepublic void setLongitude(double longitude) 
 
- 
 
-