-
Notifications
You must be signed in to change notification settings - Fork 636
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
使用PointLayer添加点要素,点击事件触发位置不准确 #2552
Comments
试试配置 pickingbuffer 属性。 |
关掉配置,加一个 renderer 配置试试 const scene = new Scene({
renderer: 'regl'
...
}); |
Hello @a1329403800. Please provide a online reproduction by forking codesandbox of @antv/l7 demo template Issues labeled by 你好 @a1329403800, 我们需要你提供一个在线的重现实例以便于我们帮你排查问题。你可以通过点击这里创建一个 @antv/l7 demo 模板 3 天内未跟进此 issue 将会被自动关闭。 |
大概就是使用图片创建点要素会使,点击事件不准确,而且好像会根据设置的偏移量同样偏移 |
图片传 cdn 地址 |
还可以试试 2.22.0 以前的版本有没有问题。 |
好像找到导致问题的原因了,使用高德地图作为地图时,没有问题,使用天地图时会出现上述问题 |
问题描述
L7使用版本为:2.22.0,
加载点要素,后点击要素并不能弹出弹窗,需要点击要素靠上或者要素外上面一点才能触发点击事件。
重现链接
No response
重现步骤
No response
预期行为
No response
平台
屏幕截图或视频(可选)
default.mp4
补充说明(可选)
No response
The text was updated successfully, but these errors were encountered: