Open gongzemin opened 1 month ago
Hi @gongzemin, Please star this repo if you find it useful! Thanks :star:! 你好~ @gongzemin 🌟 如果这个仓库对你有帮助,可以给我们点个star支持一下~你的支持对我们来说是最大的鼓励,感谢你的支持与点赞 🌟
视频说明腾讯地图scene.on('mouseover')不会触发,高德地图可以 https://github.com/antvis/L7/assets/10809643/62e365cc-812f-4dda-91c2-6364c86f65e1
腾讯地图mouseover事件不是绑定到地图上的,而是要绑定到DOM 上,所以这种写法不行scene.on('mouseover'), 高德地图可以
Hello @gongzemin, We totally like your proposal/feedback. welcome to send us a Pull Request to solve this problem and contribute to the open source project. After submitting the code, please send a Pull Request to the master branch. We will review it and look forward to your contribution.
你好 @gongzemin,同意你的反馈,欢迎直接在此仓库 创建一个 Pull Request 来解决这个问题,为开源项目贡献一份力量。提交代码后,请将 Pull Request 发到 master 分支,我们会进行 Review,期待您的贡献。
问题描述
腾讯地图scene.on('mouseover')事件不会触发,高德地图可以。packages/maps/src/tmap/map.ts, this.map.on(eventName, handleProxy); this.map执行到这里为undefined.
重现链接
https://stackblitz.com/edit/vitejs-vite-a6fpem?file=src%2FApp.vue&terminal=dev
重现步骤
进入页面,鼠标悬浮地图,看控制台输出,没有触发
预期行为
鼠标移入地图,触发mouseover事件,
平台
屏幕截图或视频(可选)
补充说明(可选)
No response