maptalks / maptalks/maptalks.js
矢量图层添加超大尺寸几何体时,俯仰角变化会引起几何对象形状变化
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 4.5k
- Forks
- 511
- Avg merge
- 3d 58m
- Merged PRs (30d)
- 1
Description
**maptalks's version and what browser you use?**
----
maptalks v0.49.5 / Chrome 91.0.4472.164
**Issue description**
----
绘制尺寸超过 半球长度的 的几何对象时,
layer.addGeometry(Geometry) 会出现 俯仰角变换时的 几何对象抖动问题
layer.addGeometry([Geometry]) 不会出现


**Please provide a reproduction URL (on any jsfiddle like site)**
----
https://codepen.io/xiangliliang/pen/PomEKrp
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 CodePen reproduction and compare layer.addGeometry(Geometry) with layer.addGeometry([Geometry]) while changing the pitch for geometry larger than a hemisphere. Trace the vector geometry rendering path responsible for this difference; done means the single-geometry case no longer jitters or changes shape during pitch changes, matching the array case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100