chrisveness / geodesy

Libraries of geodesy functions implemented in JavaScript
http://www.movable-type.co.uk/scripts/geodesy-library.html
MIT License
1.17k stars 202 forks source link

latlon.js? #12

Closed eduardoinnorway closed 9 years ago

eduardoinnorway commented 9 years ago

This one does not exist any more: https://rawgit.com/chrisveness/geodesy/master/latlon.js What is the equivalent one in this new repo?

chrisveness commented 9 years ago

I wasn't aware of rawgit.com - I'll have to look into that.

I recently reorganised the libraries into a more rational structure. The previous latlon.js is now latlon-spherical.js, and rawgit.com/chrisveness/geodesy/master/latlon-spherical.js is an almost direct drop-in replacement, with the exception that radius is moved from constructor to distance calculation methods; distances previously in kilometres now default to metres, and the order of arguments to destination point methods is reversed.