- 
                Notifications
    
You must be signed in to change notification settings  - Fork 2.3k
 
Description
mapbox-gl-js version
v3.8.0
Browser and version
Chrome 141.0.7390.108
Expected behavior
When using deck.gl layers via Mapbox, the layers should not flicker or randomly disappear in the globe view. Here is a thread in deck.gl describing that issue
This is simply because there is a lack of support from Mapbox to fix this. In my point of view as a developer, I view this as a massive bug that Mapbox should address since deck.gl is a library that is used in so many places nowadays for various projects. Mapbox’s continued lack of support here risks pushing developers toward Maplibre and other platforms that are more open to supporting these modern WebGL visualization frameworks. Addressing this would go a long way in maintaining confidence in Mapbox.
Attached is an example thread that demonstrates the problem.
Actual behavior
Enabling globe view on Mapbox with deck.gl causes layers to flicker rapidly and features of that layer (icons, text, etc.) to disappear on certain zoom levels.
Link to the demonstration
Steps to trigger the unexpected behavior
- Set the projection parameter to 'globe' from 'mercator' in Mapbox within 
react-map-gl'sMapcomponent. - Create a globe view in the deck.gl layer and use that as a DeckGLOverlay context that can interleave within Mapbox layers.
 - Observe that layers flicker as demonstrated in the video while changing zoom levels/panning around.