[Bug] Strange occlusion happening when using PolygonLayer below z=0 version 9.0.38
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 14.6k
- Forks
- 2.3k
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 42
Description
Description
I'm working on displaying a frustum. However there is some strange behavior occurring when the rendered polygon is pointing downward. As you can see in the provided video. there seems to be some occlusion occurring but it seems at random and changes based on the zoom level. If the frustum is rendered pointing upwards there there is no issue at all. I have disabled the map layer entirely to make it easier to see the issue.
https://github.com/user-attachments/assets/1db17ace-a3d9-4a0c-ba00-178672a41036
Flavors
- Script tag
- React
- Python/Jupyter notebook
- MapboxOverlay
- GoogleMapsOverlay
- CARTO
- ArcGIS
Expected Behavior
The polygons are consistently rendered instead of being randomly occluded.
Steps to Reproduce
Render a PolygonLayer below z=0
Environment
- Framework version: 9.0.38
- Browser: Chrome
- OS: OSX
Logs
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the PolygonLayer case in the React flavor with the layer below z=0, comparing downward and upward frustums across zoom levels in Chrome on OSX. The issue is resolved when polygons render consistently without random occlusion; no source file or test is identified in the report.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- data-visualization, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100