-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
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
Map content moves when zooming #4053
Comments
Cannot reproduce in beta2. |
Did you try testmapw.meteor.com ? |
Yeah, but if I cannot reproduce the bug in a controlled minimal environment, I have to assume it's not a problem in the Leaflet core. Also, I cannot know what's going on in your webpage, as all the JS is minified and I cannot trace code execution. |
Thank you for looking into this! I understand your position. |
Not sure if this info is of any value diagnosing the problem, but If I set { zoomAnimation: false } for the map, the erratic content movement is gone (but alas, also the animation :{ )... |
Sorry, I know this is closed, but I ran into this problem as well. My problem was due to using the old css file (0.7.3) instead of the current one (1.0.3). Hope this helps someone. |
You helped me @tc33133, thanks! |
Dear @tc33133 , what css file did you update? |
I was using the hosted version, and I didn't update the stylesheet link. If you follow the directions to use the hosted version here http://leafletjs.com/download.html you should be fine. |
My simple test-app (created with V1 beta2) has some strange zooming behaviour: when zooming out, the drawn polygon moves south-east and returns to its correct postion when the zoom operation ends. When zooming in, the drawn polygon moves north-west and returns to its correct postion when the zoom operation ends.
this is my app:
I published the app to testmapw.meteor.com, have a look...
If I replace V1.0.0 beta2 with V0.7.3 everything is ok again.
The text was updated successfully, but these errors were encountered: