Rendering image layer on a crossed quadrilateral bbox
Open
Nobody has claimed this yet.
bug :lady_beetle:
- Dominant language
- TypeScript
- Stars
- 12.4k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
Rendering an image on a crossed quadrilateral seems to result in a layer which spans half the world.


**mapbox-gl-js version**: 2.x
**browser**: Chrome
### Link to Demonstration
https://jsfiddle.net/iaezzy/wz2pjmgx/1/
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
Reproduce the crossed-quadrilateral case from the linked JSFiddle in mapbox-gl-js 2.x using Chrome, comparing the rendered result with the screenshots. Trace the image-layer rendering path involved in quadrilateral bounds; done means the image stays within the intended crossed quadrilateral instead of spanning half the world.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, typescript
- Domain
- computer-graphics, frontend, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100