Coordinates
Coordinates
Type: public class
A class that defines a position in WGS84 coordinates system
Coordinates(double lat, double lng)
Type: public
| Parameter Name | Type | Description | 
|---|---|---|
| lat | double | the latitude | 
| lng | double | the longitude | 
Coordinates(double lat, double lng, Double alt)
Type: public
| Parameter Name | Type | Description | 
|---|---|---|
| lat | double | the latitude | 
| lng | double | the longitude | 
| alt | Double | the altitude | 
Coordinates(Coordinates other)
Type: public
| Parameter Name | Type | Description | 
|---|---|---|
| other | Coordinates | another LatLngAlt | 
getLat()
Type: public double
Get the latitude
Returned Value: the latitude
setLat(double lat)
Type: public void
Set the latitude
| Parameter Name | Type | Description | 
|---|---|---|
| lat | double | the latitude | 
getLng()
Type: public double
Get the longitude
Returned Value: the longitude
setLng(double lng)
Type: public void
Set the longitude
| Parameter Name | Type | Description | 
|---|---|---|
| lng | double | the longitude | 
getAlt()
Type: public [Double](https://developer.android.com/reference/java/lang/Double) 
Get the altitude
Returned Value: the altitude
setAlt(Double alt)
Type: public void
Set the altitude
| Parameter Name | Type | Description | 
|---|---|---|
| alt | Double | the altitude |