Leaflet icon indicating copy to clipboard operation
Leaflet copied to clipboard

Tiles Have "Gutter" when bearing is not 0

Open marioatmicello opened this issue 8 years ago • 3 comments

When the bearing is set to a non-zero number, faint "gutters" appear between the tiles. Attached is an example of what I see:

leafletrotatetilespacing

marioatmicello avatar Nov 07 '16 22:11 marioatmicello

Hello,

Which browser are you testing on? Firefox? Might a subsampling issue like in this issue: https://github.com/fnicollet/Leaflet/issues/8

Fabien

fnicollet avatar Nov 07 '16 23:11 fnicollet

I'm primarily working in Chrome when I see this issue. Incidentally, I do not see the issue in Firefox or in iOS safari browser either..

marioatmicello avatar Nov 07 '16 23:11 marioatmicello

Just double-checked on the example https://rawgit.com/fnicollet/Leaflet/rotate-master/debug/rotate/rotate.html You have good eyes, cause I really had to look closely to see those gutters. That's probably because of some browser rounding issue. Leaflet actually has the same issue when in-between zoom, gaps appear. I know that there is some experiment to draw everything in a single canvas image (and not draw each tile) in this project, but that's just experimental: https://github.com/Leaflet/Leaflet.TileLayer.NoGap

fnicollet avatar Nov 08 '16 08:11 fnicollet