Skip to content

围栏绘制完成后,鼠标工具插件的$$close(ifClear)或者$$clear()方法无法清除绘制在地图上的图层,那要怎么做到清除编辑中的图层呢? #95

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

Open
WXL570CN opened this issue Sep 6, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@WXL570CN
Copy link

WXL570CN commented Sep 6, 2024

使用版本

请填写使用版本:2.1.5

问题描述

示例

@yangyanggu
Copy link
Owner

$$close跟clear都只是清空鼠标工具绘制出来的数据,示例里是把数据拿出来重新放到一个新的图层了,这个只能自己逻辑处理,清空的时候,把新图层的数据也手动置为null

@yangyanggu
Copy link
Owner

我验证了下,这个是v-model引起的BUG,我来研究下为什么会产生

@yangyanggu yangyanggu added the bug Something isn't working label Sep 6, 2024
@yangyanggu
Copy link
Owner

已经修复,可以使用2.1.6版本

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants