Points in layer gradually disappear on zoom with 3D terrain enabled and source compositing off
Environment
- Xcode version: 14.2
- iOS version: 15.6.1
- Devices affected: all
- Maps SDK Version: 10.12.2
Observed behavior and steps to reproduce
This is something I am seeing in my iOS app, but I can see the same behaviour right in Mapbox Studio. So I'm not sure where I should open the bug...
This is related to bug 1940, "[OFFLINE DOWNLOADS BROKEN] Layers disappearing instead of being overzoomed if offline tile region/style pack downloaded".
The suggested workaround for bug 1940 is to disable source compositing for the map in Studio. I did this and it solved the problem described in bug 1940. But it introduced a new problem.
Now, as you zoom in on the map (with 3D terrain enabled), the points from the custom layer (from MTS in my case) start to disappear. And it follows an interesting pattern – the points at higher elevations disappear first, then lower ones as you zoom in, and so on.
To reproduce:
- Create a new style in Studio based on "Outdoors".
- Turn off source compositing.
- Turn on 3D terrain.
- Add the layer from MTS.
- Zoom in where the layer has data and see the points disappearing in elevation order.
The URL of my (private) style is: mapbox://styles/martinpolley/clhqrru9101xx01pg0b9ca01z
I'm happy to share the access token with you or temporarily make it public so you can see for yourselves.
Expected behavior
The points that are disappearing should not disappear :)
Notes / preliminary analysis
Additional links and references
https://github.com/mapbox/mapbox-maps-ios/assets/432817/8f76f38c-ccb8-458d-82d5-e62d8c3a3ea9
Thanks for the report, our team is looking into it.
@martinpolley Could you please tell whether green points are Circle layers?
@alexshalamov Yes, they are circle layers.
Hey @alexshalamov & @baleboy,
Any updates on this? I assume this is NOT an iOS-specific issue, so should an issue be opened for a different team?
Thanks, Martin