azimuth
Determines azimuth (compass direction) & distance of the second point (B) as seen from the first point (A), given latitude, longitude & elevation of two points on the Earth
Original Author
Moulded from Don Cross's Azimuth/Distance Calculator
Getting Started
Install the module with: npm install azimuth
var calculate = ;calculate; // "{ distance: 3.9191090699705464, azimuth: 353.8149364508667, altitude: 1.3478271564744548 }"
Tests
To run tests
npm test
or
grunt nodeunit
License
Copyright (c) 2014 Debjeet Biswas Licensed under the MIT license.