distance-between-points

0.0.0 • Public • Published

distance-between-points

A module to get the distance between points on the Earth.

Build Status

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');

Readme

Keywords

Package Sidebar

Install

npm i distance-between-points

Weekly Downloads

9

Version

0.0.0

License

MIT

Unpacked Size

2.96 kB

Total Files

5

Last publish

Collaborators

  • cedced19