public class GeoPoint extends Object
| Constructor and Description |
|---|
GeoPoint(double latitude,
double longitude)
Constructor.
|
GeoPoint(Location location)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
double |
getLatitude() |
double |
getLongitude() |
int |
hashCode() |
String |
toString() |
public GeoPoint(Location location)
location - A geographic location.public GeoPoint(double latitude,
double longitude)
latitude - Latitude, in degrees.longitude - Longitude, in degrees.