3 bugs with alternate projections
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 12.4k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
3 bugs are demonstrated in the video below. A modified version of [the "animate a point along a route" example.](https://docs.mapbox.com/mapbox-gl-js/example/animate-point-along-route/)
I'm using the beta globe projection to demonstrate them but they seem to be general bugs with any projection.
- Geometry drawn on the map is distorted. notice how the line is thinner near the pole and pixelated further down.
- icon bearing seems to ignore projection and moves as if it were mercator
- icon position is distorted. its usually close-ish to where its supposed to be but can fly off the globe when rotated. This only seems to apply to the beta globe projection.
https://user-images.githubusercontent.com/35177464/147434950-0b6bc901-bcc8-44de-83ee-ae3534420103.mp4
https://user-images.githubusercontent.com/35177464/147435640-c80cc4b0-a7fc-497c-a722-b87cc243b2b7.mp4
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 with the linked “animate a point along a route” example and reproduce the three behaviors in the attached videos using the beta globe and other projections. Trace geometry rendering, icon bearing, and icon positioning during rotation; done means lines and icons remain correctly projected without distortion or drifting off the globe.
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
- Mostly clear
- Newbie friendliness
- 35/100