mapbox-gl-js
mapbox-gl-js copied to clipboard
Draping artifacts on ocean tiles
With globe or terrain enabled, trianglular artifacts appear in specific locations between zoom levels 5 and six. This occurs with the tile 5/27/14.
- Go to http://localhost:9966/debug/projections.html#5.5/19/125
- Enable globe OR terrain.
Acceptance Criteria:
These artifacts should no longer appear and be verified with a render test.
This bug can also be seen above Alaska on tile 5/2/6, which can be viewed with http://localhost:9966/debug/projections.html#5.41/71.852/-153.459/-28/59.
Both of these cases are tiles with some land in the SW quadrant and are otherwise ocean.
This probably occurs in more tiles in other (especially higher) zoom levels. I've noticed these in zoom 5 as I'm working on an unrelated globe-to-Mercator transition bug.
This is also occurring off the US southeast coast on tile 5/9/13
@SnailBones are you still able to reproduce this? I tried but couldn't on all the examples above. I wonder if this is something environment-specific that's not reproducible on my machine/browser, or if it was a bug on the Streets data side that got hot-patched.
@mourner Yes, just tested again and I'm still seeing this bug. I'm seeing it in Chrome, Safari, and Firefox on MacOS (Intel chip), Windows and Linux machines.
@SnailBones that's so weird! Will have to unassign myself for now since I can't manage to reproduce...
I also couldn't reproduce this in Chrome, Safari, and Firefox on macOS (Apple chip) with globe or terrain.
Reopening, refer https://github.com/mapbox/mapbox-gl-js/pull/12203#issuecomment-1233307545
@SnailBones, could you please try reproducing this in that jsfiddle? https://jsfiddle.net/StepanKuzmin/4psda2o8/8/
@stepankuzmin Thanks for the nice reproduction! I'm able to reproduce it in all three locations with your jsfiddle.
Taking a stab at this issue as I can reproduce it consistently (macbook pro, monterey 12.6, intel processor). I checked out the previous fix that was reverted: #12203 which resolves the issue on my machine. Does this solution still make the issue appear for you @karimnaaji? If so, what are the details of your machine?
Except in order to address tile 5/27/14, the epsilon needs to be set at 0.35.
Does this solution still make the issue appear for you @karimnaaji?
Responded on the PR: https://github.com/mapbox/mapbox-gl-js/pull/12279#issuecomment-1275044877