0.0.0 • Published 6 years ago
distance-between-points v0.0.0
distance-between-points
A module to get the distance between points on the Earth.
Usage
var example = {
reference: {
lat:48.763133,
lng:7.255974
},
point: {
lat:48.751905,
lng:7.256158
}
}
var distanceBtwPoints = require('distance-between-points');
distanceBtwPoints(example.point, example.reference, 'lat', 'lng');
0.0.0
6 years ago