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

Incorrect latitude and longitude #51

Closed
imbytecat opened this issue Mar 13, 2022 · 2 comments
Closed

Incorrect latitude and longitude #51

imbytecat opened this issue Mar 13, 2022 · 2 comments

Comments

@imbytecat
Copy link

I found that the latitude and longitude were faulty and they swapped positions causing the error.

@M0r13n
Copy link
Owner

M0r13n commented Mar 13, 2022

@imbytecat Thanks for your report. Could you provide some more details? Which message was affected? Examples to reproduce the error would be great.

@imbytecat
Copy link
Author

Sorry, after I checked I found that this should be my misunderstanding.
This is a problem that happened when I was using the leaflect.js library.
String geo-points are "latitude, longitude", while array geo-points are [longitude, latitude]—the opposite order.

Your code is great and has helped me a lot!

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

No branches or pull requests

2 participants