Skip to content

[Bug] Maplibre and deck.gl go out-of-sync when resizing the map container #9666

Open
@jcolot

Description

@jcolot

Description

With a mapbox interleaved overlay, when resizing the map container, the deck.gl layers go out of sync with the map.

Recording.2025-06-11.170033.mp4

Flavors

  • Script tag
  • React
  • Python/Jupyter notebook
  • MapboxOverlay
  • GoogleMapsOverlay
  • CARTO
  • ArcGIS

Expected Behavior

The interleaved mapbox overlay shoud stay in sync with the underlying map.

Steps to Reproduce

Resize the width of the window on this notebook https://observablehq.com/d/c05afcbe7d345042 until the container shrinks (see video). Note: it's not reproducible all the time...

Environment

  • Framework version: 9.2.0
  • Browser: Chrome
  • OS: Mac and windows

Logs

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions