public static final class AbstractQuery.LatLng
extends Object
A pair of (latitude, longitude). Used in geo-search.
| Constructor and Description |
|---|
LatLng(double lat,
double lng) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
int |
hashCode() |
static AbstractQuery.LatLng |
parse(String value)
Parse a
LatLng from its string representation. |
public boolean equals(@Nullable
Object other)
equals in class Objectpublic int hashCode()
hashCode in class Object@Nullable public static AbstractQuery.LatLng parse(@Nullable String value)
Parse a LatLng from its string representation.
value - A string representation of a (latitude, longitude) pair, in the format 12.345,67.890 (number of digits may vary).LatLng instance describing the given geolocation, or null if value is null or does not represent a valid geolocation.