mapbox / mapbox/webgl-wind

If my image uses the 3857 projection and contains data for a specific region (e.g., `[40, 0, 120, 60]` as `minX`, `minY`, `maxX`, `maxY`), and I am implementing it using a Mapbox GL custom layer, how should the `matrix` be used in the vertex shader?

Open
#24 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.1k
Forks
230
PR merge metrics
No merged PRs in 30d

Description

If my image uses the 3857 projection and contains data for a specific region (e.g., `[40, 0, 120, 60]` as `minX`, `minY`, `maxX`, `maxY`), and I am implementing it using a Mapbox GL custom layer, how should the `matrix` parameter in the `render` method be used in the vertex shader?
Thanks!

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

Start by reading the Mapbox GL custom-layer render entry point and the vertex shader that receives the matrix parameter. Determine what guidance or example is needed for a 3857 image covering the stated region, and consider the work done when the matrix usage is clearly documented for this case.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
computer-graphics
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.