-
Notifications
You must be signed in to change notification settings - Fork 2
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
Chrome(ium) 1 pixel gap between tiles in some map types #19
Comments
Can confirm this fixes the problem for me. |
@tkcent many thanks for your confirmation. For others coming here - this is a screenshot of the problem in Chrome: |
There's a really interesting repro you can do that exposes that this issue may be (at least in part) a chrome bug, operating independently of leaflet. Essentially, you move the map around until you can see the 1px while the map is static. Then go to the leaflet-pane element and toggle the transform: translate3d property on and off. The 1px line will vanish, move, reappear, all seemingly at random. Hope this helps someone debug this. |
This css nearly works: img.leaflet-tile { |
Hi @GeekyMonkey, the workaround in this module has been released in April 2021. Are you still experiencing the gap with Backdrop? If so, which map types? This issue here is just open, because I hoped, that Chrome would fix the browser bug a little sooner (I still hope but switched to "sooner or later" 😉). As soon as they fixed it, the workaround gets removed again. |
@indigoxela Apologies. I've reported this in the wrong place. I got here from a google search and saw the project name "leaflet" and thought this was the Leaflet library itself, I didn't realize it was an integration library. Nevermind... :) |
Seems like this bug will stay for a little longer. But the workaround changed in the meantime. The size hack just had ugly side effects causing "wobbling" images on zoom. |
Leaflet 1.9.4 is out and it's supposed to provide the bugfix, but... So we adapt our workaround to reset the global (all browser) mix-blend-mode to normal and only set it for chrome-based browsers via css hack. Not ideal, but why punishing FF users for a Chrome bug? 😉 Means: this issue still has to stay open. 🤷 |
Only Chrome and Chromium on some OSes and/or with some special browser settings and only few map types seem affected.
In module leaflet_more_maps it only seems to affect google satellite layers (to be verified, though).
It's a known problem in the 1.x Leaflet library versions, here's their issue: Leaflet/Leaflet#6101
And it probably (?) has to be solved in the browser.
The text was updated successfully, but these errors were encountered: