Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extruded buildings cover symbols and labels sometimes #2894

Closed
Zverik opened this issue Oct 2, 2024 · 3 comments
Closed

Extruded buildings cover symbols and labels sometimes #2894

Zverik opened this issue Oct 2, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@Zverik
Copy link
Contributor

Zverik commented Oct 2, 2024

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:

  • style2.json — between zooms 15 and 15.5, poi_r1 layer is covered by building-3d layer. There is no mention of zoom 15.5 in the style, so the reason buildings cover POI on on zoom and don't on others is unknown.
  • style2_old.json — same style without building and poi_r7 layers. While it should not have affected the outcome, instead extruded buildings cover POI on all zooms 15+.

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:

  • maplibre_gl flutter package: ^0.20.0
  • maplibre-native for android: v11.0.0
  • android 14 on sony xperia 10 vi

A screenshot:

extruded-fail

See also #2776.

@Zverik Zverik added the bug Something isn't working label Oct 2, 2024
@westnordost
Copy link
Collaborator

This might be the same issue as #2259.

@Zverik
Copy link
Contributor Author

Zverik commented Oct 4, 2024

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
Copy link
Collaborator

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.

@westnordost westnordost closed this as not planned Won't fix, can't repro, duplicate, stale Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants