Returns the distance in kilometers between two points on the planet Earth, calculated by the spherical law of cosines (https://en.wikipedia.org/wiki/Great-circle_distance#Formulas).
Returns the distance in kilometers between two points on the planet Earth, calculated by the spherical law of cosines (https://en.wikipedia.org/wiki/Great-circle_distance#Formulas).
the coordinates of the first point
the coordinates of the second point
the distance in kilometers between two points on the planet Earth.
Returns a function that measures the distance to the point p1
on the planet Earth, calculated
by the spherical law of cosines (https://en.wikipedia.org/wiki/Great-circle_distance#Formulas).
Returns a function that measures the distance to the point p1
on the planet Earth, calculated
by the spherical law of cosines (https://en.wikipedia.org/wiki/Great-circle_distance#Formulas).
the coordinates of the first point
a function that given a point p2
returns the distance in kilometers to the point p1
.
Object containing geo-location functions.