Skip to content
This repository has been archived by the owner on Sep 26, 2022. It is now read-only.

Tiles Have "Gutter" when bearing is not 0 #12

Open
marioatmicello opened this issue Nov 7, 2016 · 3 comments
Open

Tiles Have "Gutter" when bearing is not 0 #12

marioatmicello opened this issue Nov 7, 2016 · 3 comments

Comments

@marioatmicello
Copy link

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

@fnicollet
Copy link
Owner

Hello,

Which browser are you testing on? Firefox? Might a subsampling issue like in this issue:
#8

Fabien

@marioatmicello
Copy link
Author

marioatmicello commented Nov 7, 2016

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..

@fnicollet
Copy link
Owner

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants