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
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
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 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