maplibre-gl-js icon indicating copy to clipboard operation
maplibre-gl-js copied to clipboard

Ocean stripes over continent

Open wipfli opened this issue 1 year ago • 5 comments

maplibre-gl-js version: 5.0.0-pre.1

browser: chrome on ubuntu

Steps to Trigger Behavior

  1. Open https://jsbin.com/rulalux/edit?html,output
  2. observe stripes of ocean blue over continent

Link to Demonstration

5.0.0-pre.1

bug present:

https://jsbin.com/rulalux/edit?html,output

image

4.7.1

bug not prensent

https://jsbin.com/kiqetew/edit?html,output

image

Expected Behavior

no stripes like in v4

Actual Behavior

stripes

wipfli avatar Oct 03 '24 14:10 wipfli

The stripes are also visible in the globe mode.

wipfli avatar Oct 03 '24 14:10 wipfli

Thanks for taking the time to report this! Can you try and make a smaller reproduction to narrow down the relevant layer?

HarelM avatar Oct 03 '24 17:10 HarelM

Updated the map style to have only one layer

wipfli avatar Oct 05 '24 13:10 wipfli

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.

kubapelc avatar Oct 17 '24 08:10 kubapelc

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!

HarelM avatar Oct 17 '24 08:10 HarelM