Skip to content


Subversion checkout URL

You can clone with
Download ZIP


White lines when zoomed out #53

kkaefer opened this Issue · 2 comments

2 participants


When the overall zoom of the page isn't exactly 1, some white lines appear:


Ah, tricky! I've seen this using page zoom inside browsers too (also on and, FWIW). I guess a fix would be possible if you can find a cross-browser way to detect the zoom, and figure out how to adjust tile positioning to compensate? lists some of the different methods you'll need. If you can get that working then you'll need to change the tile positioning code (@tmcw's new moveElement method, probably) so that the position and scale rounding takes the page zoom into account.

... If the main reason to do this is to get the map to display correctly in Spotlight previews then you're a more dedicated professional than I am ;)


Heh, I've seen that issue in regular browsers before where the person accidentally zoomed in; Spotlight previews seem to be affected by this as well. I really just wanted to make a ticket for it. I'm aware that this is super tricky and rounding code is probably different in every rendering engine version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.