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