Description
Note
This issue now has 150+ comments, most of which are concerned with hacky workarounds. I've compiled a list of a few comments that are discussing potential solutions:
- Chromium dev's suggestion
translate
instead oftranslate3d
- Don't use decimal pixels
display: grid
- Leaflet.TileLayer.NoGap
- L.TileLayer.Canvas in core #8302
(See also #3575 (comment).)
Relevant browser bugs, filed by @hyperknot:
- https://bugs.chromium.org/p/chromium/issues/detail?id=600120
- https://bugs.webkit.org/show_bug.cgi?id=156130
(Also,
mix-blend-mode
is now used to alleviate the tile gaps in Chromium-based browsers: #8891.)
As the screenshot shows there is a small space between the tiles. This happens to me on fractional zoom levels in Safari, Chrome and Opera. It seems like this was fixed in #2377 but later removed in 3ccbe5b in favour of better performance.
I tried reimplementing the fix to see the performance impact myself and it was pretty bad furthermore it didn't even fix the problem for Chrome.
Does anyone have an idea how this can be fixed? Fractional zoom levels would be a great feature for our app but as long as this bug remains we can't really use them.
Edit: I set up a jsFiddle that shows the problem: http://jsfiddle.net/Eschon/pw9jcjus/1/