maptalks / maptalks/maptalks.js
PolygonLayer三维面数据样式透明度异常
Open
Nobody has claimed this yet.
bug
- Dominant language
- HTML
- Stars
- 4.5k
- Forks
- 511
- Avg merge
- 3d 58m
- Merged PRs (30d)
- 1
Description
面数据的坐标包含高程信息,通过6个面数据手动拼装成一个 6面体,顶面和底面设置透明度为1,但是仍旧透明;侧面设置了透明度 < 1,但是却始终不透明
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 reproducing the issue with PolygonLayer using six elevated faces assembled into a box, matching the reported top, bottom, and side transparency settings. Inspect the PolygonLayer rendering path and verify that each face's opacity matches its configured value; done means opaque faces remain opaque and partially transparent faces render transparently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- computer-graphics, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100