Geovation / labelgun

🏷️ reducing label clutter across mapping libraries
https://geovation.github.io/labelgun/
113 stars 10 forks source link

Leaflet double-click zoom blurs label text #10

Closed tomchadwin closed 7 years ago

tomchadwin commented 7 years ago

This one's very odd. If you zoom in Leaflet with a double-click, the label text blurs. Using the + zoom control does not blur it. No idea why.

tomchadwin commented 7 years ago

Update: does not always blur. Is something being positioned on a fraction of a pixel, resulting in antialiasing?

JamesLMilner commented 7 years ago

I'll investigate and get back to you. Potentially a Leaflet issue itself.

JamesLMilner commented 7 years ago

I can't replicate this. Which browser are you using? I've tested in Chrome and Firefox. Can you post a screenshot of what you're seeing?

tomchadwin commented 7 years ago

Chrome/Win7x64

I'll try Firefox tomorrow, and also see if I can replicate outside Labelgun.

tomchadwin commented 7 years ago

Before: before

After: after

tomchadwin commented 7 years ago

Also experienced in Chrome/Mac and Firefox/Mac.

Can't recreate in Firefox/Win, Chrome/Xenial, Firefox/Xenial.

JamesLMilner commented 7 years ago

Hmm...strange. I'll pass it around the engineering team at work and see if they can reproduce also.

JamesLMilner commented 7 years ago

Is this still causing a problem @tomchadwin ?

tomchadwin commented 7 years ago

Oo, no. On an initial quick test (Chrome/Win), all seems well. Nice one. Will close.