L7 icon indicating copy to clipboard operation
L7 copied to clipboard

图层框选和地图的拖拽有冲突

Open DantinZhang opened this issue 5 months ago • 3 comments

问题描述

Image 这个boxSelect框选图层的时候,和地图的拖拽事件有冲突,这个有什么好的解法吗 https://l7.antv.antgroup.com/zh/examples/tutorial/layer#layer_boxselect

还有就是,这个有时候会挂掉,不知道是不是我电脑的问题

Image

重现链接

No response

重现步骤

No response

预期行为

No response

平台

  • 操作系统: [macOS, Windows, Linux, React Native ...]
  • 网页浏览器: [Google Chrome, Safari, Firefox]

屏幕截图或视频(可选)

No response

补充说明(可选)

No response

DantinZhang avatar Nov 24 '25 06:11 DantinZhang

Hi @DantinZhang, Please star this repo if you find it useful! Thanks :star:! 你好~ @DantinZhang 🌟 如果这个仓库对你有帮助,可以给我们点个star支持一下~你的支持对我们来说是最大的鼓励,感谢你的支持与点赞 🌟

github-actions[bot] avatar Nov 24 '25 06:11 github-actions[bot]

https://l7.antv.antgroup.com/zh/examples/tutorial/layer#layer_boxselect

官方这个示例,确实我框选之后就会挂掉

Image

DantinZhang avatar Nov 24 '25 09:11 DantinZhang

尝试框选的时候禁用一下地图交互看看

lzxue avatar Nov 25 '25 02:11 lzxue