WebGL warning on transitioning from globe to mercator when showTileBoundaries is set to true.
Open
Nobody has claimed this yet.
3d :triangular_ruler:
bug :lady_beetle:
- Dominant language
- TypeScript
- Stars
- 12.4k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
browser: Google Chrome Version 97.0.4692.99 (Official Build) (64-bit)
Steps to Trigger Behavior
- Navigate to
http://localhost:9966/debug#5.99/41.417/-106.375 - From console enable globe projection and set
showTileBoundariesto true:
i.map.setProjection('globe');
ii.map.showTileBoundaries = true; - Zoom in slightly and observe the WebGL warning from console.
Expected Behavior
No such warning should be emitted.
Actual Behavior
The following warning is emitted:
GL_INVALID_OPERATION: Must have element array buffer bound.
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 warning from the debug URL in Chrome by switching to globe projection, enabling showTileBoundaries, and zooming slightly. Trace the WebGL rendering path used during the globe-to-Mercator transition and tile-boundary display. Done means the same steps no longer emit GL_INVALID_OPERATION: Must have element array buffer bound.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- computer-graphics, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 38/100