Adds the destVincenty algorithm #1

Merged
merged 5 commits into from Mar 8, 2013

Conversation

Projects
None yet
2 participants
Contributor

l8nite commented Mar 8, 2013

This change adds the destVincenty algorithm:
http://www.movable-type.co.uk/scripts/latlong-vincenty-direct.html

Updated the README.md to include new usage and examples of both synchronous and asynchronous operation.

I also slightly modified the existing function to:

  • make callback optional
  • check # of arguments on callback function, and if 3, unpack the result data into the arguments directly -- see the README for example
Contributor

l8nite commented Mar 8, 2013

Also, thanks for packaging this up 👍

@TankofVines TankofVines added a commit that referenced this pull request Mar 8, 2013

@TankofVines TankofVines Merge pull request #1 from l8nite/master
Adds the destVincenty algorithm
af5b9cc

@TankofVines TankofVines merged commit af5b9cc into TankofVines:master Mar 8, 2013

Owner

TankofVines commented Mar 8, 2013

Awesome. Thanks for contributing.

Contributor

l8nite commented Mar 8, 2013

Sure thing! Can you push a new package to npm? :)

l8nite referenced this pull request in l8nite/spartan-missile-strike Mar 8, 2013

Closed

switch to node-vincenty when it is updated #50

Owner

TankofVines commented Mar 8, 2013

I just published to npm. Let me know if you see any issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment