-
Notifications
You must be signed in to change notification settings - Fork 22
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
EPSG:3857 doesn't render the map correctly. #7
Comments
I am not familiar with leaflet, then I had difficulty to try the projection .. Magics can understand projection coordinates .. I think I have just forgotten to set it in case of 3857 .. I will check that, not need for pyproj yet ! ( just trying to keep the dependancies minimum) |
Can you show me how you set the projection in leaflet ? I am not sure I got it right ! |
In this patch you can see how to explicitly set the projection in leaflet:
|
Great, Thanks.. I will try now .. I think I will also try to improve the leaflet demo then we can do more manual tests with projection, and version . Sylvie |
Should be OK now .. |
Thank you, I tested it works fine now! |
With EPSG:4326 the map is not rendered correctly. I think that the bounding box should be converted to lat/lon before passing it to
macro.mmap
. I'll file a PR soon to show a possible fix using pyproj.The text was updated successfully, but these errors were encountered: