1.0.6 • Published 4 years ago
gps-distance-calc v1.0.6
A library to calculate distance between two points.
Features : Calculate the distance in KM between two position on earth with latitude and longitute given.
Install npm install gps-distance-calc
USAGE: The exported module contains only one function which takes four argument:
distanceCalc(lat1,long1,lat2,long2)
The function returns the distance between two points in KM. The latitude and longitude in the argument should be passed in degree.