public class GeoPoint extends Object implements Serializable
| Constructor and Description |
|---|
GeoPoint(double latitude,
double longitude)
Construct a new GeoPoint using the provided latitude and longitude values.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
double |
getLatitude()
Returns the latitude.
|
double |
getLongitude()
Returns the longitude.
|
int |
hashCode() |
String |
toString() |
public GeoPoint(double latitude,
double longitude)
latitude - The latitude of this GeoPoint in the range [-90, 90].longitude - The longitude of this GeoPoint in the range [-180, 180].Copyright © 2017 Google. All rights reserved.