Calculates the distance between two latitude/longitude pairs in a single event with the Haversine formula.
Requires a position of point on the Earth's surface specified by the two geographic coordinates: the longitude and latitude of the point.
This is the first geographic coordinate that specifies the east-west position of a point on the Earth's surface.
This is the second geographic coordinate that specifies the north-south position of a point on the Earth's surface.
This is the second geographic coordinate that specifies the east-west position of a point on the Earth's surface.
This is the second geographic coordinate that specifies the north-south position of a point on the Earth's surface.
{ ‘distance’: 12.2 }