mapbox / mapbox/mapbox-gl-js

Rendering image layer on a crossed quadrilateral bbox

Open
#12,532 1 comment 0 reactions 0 assignees View on GitHub

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.

Screenshot 2023-01-23 at 1 07 28 pm

Screenshot 2023-01-23 at 1 08 24 pm

**mapbox-gl-js version**: 2.x

**browser**: Chrome

### Link to Demonstration
https://jsfiddle.net/iaezzy/wz2pjmgx/1/

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.