Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix JavaScript version of gcj2wgs_exact #60

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cxcxcxcx
Copy link

The test was actually failing:
% npm test

[email protected] test /Users/chenxing/eviltransform/javascript
node test.js

gcj2wgs_exact test 0: distance5695312.758504871
gcj2wgs_exact test 1: distance12596699.5673844
gcj2wgs_exact test 2: distance14679927.891650176
wgs2gcj 2564103 223 ns/op
gcj2wgs 3225806 213 ns/op
gcj2wgs_exact 348432 2770 ns/op
distance 9090909 11 ns/op

Now the errors are gone.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant