Skip to content

rohini-p/manhattan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Manhattan Distance

A small library that calculate manhattan distance between 2 lat lngs

Installation

npm install manhattan-distance

Usage

var manhattan = require('manhattan-distance');

var manhattanDistance = manhattan(12.795251, 80.198697,12.8708,80.1078);

Output should be 18.51KM

Tests

npm test

Contributing

In lieu of a formal style guide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.

About

calculate manhattan distance between 2 lat lngs

Resources

License

Stars

Watchers

Forks

Packages

No packages published