maplibre / maplibre-native

MapLibre Native - Interactive vector tile maps for iOS, Android and other platforms.
https://maplibre.org
BSD 2-Clause "Simplified" License
1.06k stars 312 forks source link

Extruded buildings cover symbols and labels sometimes #2894

Closed Zverik closed 1 month ago

Zverik commented 1 month ago

Sometimes extruded buildings cover symbols and labels. Which never happens with MapLibre GL JS (on web) — and that made debugging this quite hard.

I was testing with Flutter package, which uses MapLibre Native for Android. We have also encountered this bug on a native Android application using the SDK.

After some experimenting, I narrowed styles to replicate this to those two:

When you remove any layers from the label group, suddenly extruded buildings stop covering POI symbols. That is the most baffling: why labels affect this, and why not "all labels".

Versions:

A screenshot:

extruded-fail

See also #2776.

westnordost commented 1 month ago

This might be the same issue as #2259.

Zverik commented 1 month ago

Oh thank you Tobias! It looks indeed the same. Could you please maybe try those styles with the Vulcan build to confirm it is also fixed there?

westnordost commented 1 month ago

I can reproduce this issue with style2_old.json and I can confirm that it is fixed with org.maplibre.gl:android-sdk:11.3.0-vulkan-pre0.

I deduce, my dear Watson, that it is the same issue as #2259. Closing as duplicate.