Skip to content

Lack of deck.gl support in the globe projection view causes flickers/disappearance #13574

@MikhailSorokin

Description

@MikhailSorokin

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

visgl/deck.gl#7920

Steps to trigger the unexpected behavior

  1. Set the projection parameter to 'globe' from 'mercator' in Mapbox within react-map-gl's Map component.
  2. Create a globe view in the deck.gl layer and use that as a DeckGLOverlay context that can interleave within Mapbox layers.
  3. Observe that layers flicker as demonstrated in the video while changing zoom levels/panning around.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions