Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug Report] 绘制组件在未进行绘制的情况下多次调用toggleAction后,draw-evt内的evt不完整 #646

Open
PeterZhenhh opened this issue Dec 25, 2024 · 0 comments

Comments

@PeterZhenhh
Copy link

VueCesium version

3.2.9

OS/Browsers version

win11 / Chrome 131.0.6778.205

Vue version

3.5.13

Cesium version

1.124.0

Reproduction Link

https://codepen.io/peterzhenhh/pen/yyBXGOK

Steps to reproduce

参考重现链接内,点击左下角的“切换矩形绘制”按钮,并在地图上绘制时控制台成功输出e.positionsDegreesArray。完成此次矩形绘制后,连续按三下左下角的“切换矩形绘制”按钮,再次在地图上绘制时e.positionsDegreesArray变为undefined

What is Expected?

多次连续操作toggleAction后,仍能获取e.positionsDegreesArray

What is actually happening?

调用toggleAction之间不在地图上进行绘制,则之后均无法获取e.positionsDegreesArray。且e内的多数属性均缺失。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant