geodistance-cal

1.1.2 • Public • Published

What is this?

To calculate distance between two latitudes and longitudes

Installing

$ npm install geodistance
 

Building bundled/minified version (for AMD, etc)

First run npm install to get all of the dependencies, and then run make:

$ npm install
$ make

The bundled and minified files will be in the generated build directory.

Getting Started

var distance = require('geodistance');

var latLong1 = {
lat: '',
lng: ''
}
var latLong2 = {
lat: '',
lng: ''
}
var calDistance = distance(latLong1, latLong2)

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.1.20latest

Version History

VersionDownloads (Last 7 Days)Published
1.1.20
1.1.10
1.1.00
1.0.00

Package Sidebar

Install

npm i geodistance-cal

Weekly Downloads

0

Version

1.1.2

License

ISC

Unpacked Size

3.35 kB

Total Files

4

Last publish

Collaborators

  • yashwanth1796