Skip to content

[Bug] Collision-filtered layer won’t render above the Mapbox layers #10027

@miruiz720

Description

@miruiz720

Description

When I use interleaved MapboxOverlay with a mix of deck.gl + Mapbox layers, any layer using CollisionFilterExtension won’t render above the Mapbox layers.

In the attached CodePen, all the circles in the ScatterplotLayer are hidden. If I comment out CollisionFilterExtension, or set the MVTLayer beforeId to undefined, the ScatterplotLayer becomes visible again.

Image Image

Flavors

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

Expected Behavior

The collision-filtered layer should render above the Mapbox layers.

Steps to Reproduce

https://codepen.io/miruiz/pen/azZreaa

Environment

  • Framework version: 9.2.8
  • Browser: Chrome
  • OS: 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