-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix tile debug rendering on satellite tiles #8380
Conversation
The |
@andrewharvey thanks for making this change!
My 2c: It does feel a bit too bold. |
I thought that was because I increased the halo to 2px, but it wasn't, the render test actually helped pickup an error in my code! I've fixed that now but a new unit test I created for testing the debug tiles on satellite tiles, passes on my local machine but fails on circleci, it doesn't look like I can access circleci's artifacts from the job, so don't know what it's rendering on how it's different...
Yep I think I'll try to get this one merged first, then I'll try to work in your changes from #7314.
That's okay, I've scaled it back to 1px. |
Here's a link to the results: https://45149-8629417-gh.circle-artifacts.com/0/root/mapbox-gl-js/test/integration/render-tests/index.html |
Thanks for fixing that @asheemmamoowala, I could never work out why when I generated the fixture locally it looked fine and hence passed locally but for some reason that same test running on CI was different and hence failed. 🤔 |
If I remember correctly you run a non-OSX setup. I believe the difference is subtle in the graphics driver and happens to change the output just enough to go past the tolerance for render tests. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me. It even looks pretty good on a 4K screen.
Launch Checklist
closes Tile number can't display on satellite style #2223 by improving the readability of the debug tiles (showTileBoundaries) on satellite tiles.
This change also increases the halo to 2px to improve readability, but I can change this back if you think it's now too bold.
I'll update the render test fixtures once we decide if the increase to 2px halo is okay or not.