Constructor and Description |
---|
Comparator(LatLng refCoordinate)
Constructor of utility class used for comparing two geo points using great-circle distance formula.
|
Modifier and Type | Method and Description |
---|---|
int |
compare(LatLng lhs,
LatLng rhs) |
public Comparator(LatLng refCoordinate)
refCoordinate
- reference geo point.