mapbox / mapbox-gl-native

Interactive, thoroughly customizable maps in native Android, iOS, macOS, Node.js, and Qt applications, powered by vector tiles and OpenGL
https://mapbox.com/mobile
Other
4.37k stars 1.33k forks source link

tiles missing layer data from sources at certain zoom levels #16601

Open jrobinson01 opened 3 years ago

jrobinson01 commented 3 years ago

This was originally noticed in the ios SDK but also appears in mapbox studio, and the style viewer stuff:

https://api.mapbox.com/styles/v1/jrobinsonmedia/cknom1qz54tvh17l86f6cmooq.html?fresh=true&title=view&access_token=pk.eyJ1IjoianJvYmluc29ubWVkaWEiLCJhIjoiY2tubnhtdng5MTJzazJwbW9sYTFpenQybyJ9.t0qAkzpAteNYp3I9c0kRnw#11.8/43.11628/-74.07588

Platform: Mapbox SDK version:

Steps to trigger behavior

These are vague, sorry.

  1. create a dataset with MultiLineString geojson feature
  2. export to a tileset
  3. use as source for a custom layer in studio

Expected behavior

The custom style should display properly at all zoom levels

Actual behavior

Some tiles display the custom style data (yellow line in linked example) while other tiles do not at certain zoom levels. This can be seen in the example by zooming out quite a bit, until the big yellow ball of string appears, then zooming back in and watching it partially disappear. It's easier to see in studio with the "show tile boundaries" setting enabled.