-
Notifications
You must be signed in to change notification settings - Fork 626
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
使用Map时会导致点击控件同时也点击了底下的layer,同时触发控件和layer的click事件 #2516
Comments
一个 #2515 问题是吧?应该是一个事件绑定的问题,可以先使用 Maplibre,style 设置为 blank ,效果一样的 |
ok了,谢谢 |
目前暂时方案是 监听了Popper的show事件 |
@antv/l7@2.22.0 已修复 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
问题描述
使用Map会导致点击控件时也点击了底下的layer,同时触发控件和layer的click事件,没有优先级次序,但是使用Mapbox和高德Map GaodeMap就不会
重现链接
No response
重现步骤
No response
预期行为
当我想点击图层控制LayerSwitch控件时,却触发了底下PointLayer的click事件,导致弹出了对话框
平台
屏幕截图或视频(可选)
补充说明(可选)
No response
The text was updated successfully, but these errors were encountered: