manhattan-distance

0.0.3 • Public • Published

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.

/manhattan-distance/

    Package Sidebar

    Install

    npm i manhattan-distance

    Weekly Downloads

    1

    Version

    0.0.3

    License

    MIT

    Unpacked Size

    3.65 kB

    Total Files

    5

    Last publish

    Collaborators

    • rohinip