-
Notifications
You must be signed in to change notification settings - Fork 5
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
Maps.Me coordinates encode #2
Comments
Hello. |
@mpimenov, Thanks a lot! But why the accuracy of longitude is so low? It always truncates it. |
The output of this test, added to https://github.com/mapsme/omim/blob/a1a15b4c4d8b922ee69588bf99c8650b319ab5b9/ge0/ge0_tests/parser_tests.cpp
is
What you see looks like a type error somewhere (longitude seems to be converted to integer), probably you are using a wrong implementation. Our library at https://github.com/mapsme/omim/tree/a1a15b4c4d8b922ee69588bf99c8650b319ab5b9/ge0 works correctly in your case as shown by the test above. This is the only implementation that is supported by us. |
Your coordinates encoded by our library at zoom 19 result in the "ge0://84To-til2K" string. |
Thank you! |
Hello! I'm Michael.
I'm searching for a way to encode coordinates in Maps.Me format to create custom links. And there's no information about from Maps.Me at all.
Could you help with that? I checked your decode ge0 URL code and hope you could help me with it.
Thanks a lot!
The text was updated successfully, but these errors were encountered: