Calculate the distance between two locationsSource:
This function uses the haversine formula to calculate the great circle distance between two locations, identified by their latitudes and longitudes.
Latitude of the first location.
Longitude of the first location.
Latitude of the second location.
Longitude of the second location.
Units of the latitude and longitude values. Possible values are:
deg: Degrees (default);