Skip to content

[Bug] Mapbox Standard Style draws buildings above deck gl #10101

@Truplic

Description

@Truplic

Description

When using deck gl in interleaved mode with Mapbox Standard Style, (2D) buildings are occluding deck gl layers content.
It seems that Mapbox has changed something in later versions as it works OK in v3.9.3.

Examples:
2D
Image

3D
Image

Flavors

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

Expected Behavior

Deck gl content should be on top of 2D buildings.

Image

See correct behavior of Mapbox v3.9.3:
https://codepen.io/Truplic/pen/bNwWbxG

Steps to Reproduce

See this codepen that uses Mapbox v3.20.0:
https://codepen.io/Truplic/pen/YPGVKOJ
Note: setting slot variable doesn't seem to make any difference.

Environment

  • Framework version: 9.2.11
  • Browser: Chromium
  • 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