Checks if these coordinates are valid geo coordinates.
latitude The latitude must be in the range -90, 90longitude The longitude must be in the range -180, 180
returns true if these are valid geo coordinates
Calculates the distance, in kilometers, between two locations, via the
Haversine formula. Note that this is approximate due to the fact that
the Earth's radius varies between 6356.752 km and 6378.137 km.
p1 The first location given
p2 The second location given
return the distance, in kilometers, between the two locations.
Calculates the number of degrees a given distance is at a given latitude.
distance The distance to convert.
latitude The latitude at which to calculate.
returns the number of degrees the distance corresponds to.
Checks if the coordinates of a GeopPoint are valid geo coordinates.
latitude The latitude must be in the range -90, 90longitude The longitude must be in the range -180, 180
returns true if these are valid geo coordinates