maplibre-gl-js
maplibre-gl-js copied to clipboard
Ocean stripes over continent
maplibre-gl-js version: 5.0.0-pre.1
browser: chrome on ubuntu
Steps to Trigger Behavior
- Open https://jsbin.com/rulalux/edit?html,output
- observe stripes of ocean blue over continent
Link to Demonstration
5.0.0-pre.1
bug present:
https://jsbin.com/rulalux/edit?html,output
4.7.1
bug not prensent
https://jsbin.com/kiqetew/edit?html,output
Expected Behavior
no stripes like in v4
Actual Behavior
stripes
The stripes are also visible in the globe mode.
Thanks for taking the time to report this! Can you try and make a smaller reproduction to narrow down the relevant layer?
Updated the map style to have only one layer
I've been debugging this and I now believe this issue is the same as https://github.com/maplibre/maplibre-gl-js/issues/4803
The map below is displaying only a single tile (1/1/1 - bottom right tile of zoom 1) of the source and only a single feature (id 2367) from it. Note that the stripes extend beyond the equator. The stripe geometry should normally not be visible, since it is beyond tile extents.
Let's keep this one open for now, if it's the same root cause then a PR to solve it can close the other issue as well. Thanks for looking into this!