Coordinates
Coordinates API
Coordinates()
Coordinates()Constructs an instance of Coordinates.
Coordinates(double latitude, double longitude)Parameters
latitude
Specifies the north-south position of a point on the surface of the Earth, in degrees, ranging from −90° at the south pole to 90° at the north.
longitude
Specifies the east-west position of a point on the surface of the Earth, in degrees, ranging from -180° westward to 180° eastward.
getLatitude()
getLatitude()Returns the latitude in degrees.
double getLatitude()getLongitude()
getLongitude()Returns the longitude in degrees.
double getLongitude()Last updated