We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
问题:为了方便不使用聚合 maxClusterZoom 设置为 1;给每个marker 注册点击事件 ,发现缩放后总是第一个addTo的marker的click事件触发不了。(如果先点击第一个元素,再缩放,可以正常触发)。
我排查一阵没怎么看懂,但是在192行 if (maxClusterZoom && zoom > maxClusterZoom) 后加入代码 this._computeGrid(); 之后功能就正常了。不知道这个是什么原因?
The text was updated successfully, but these errors were encountered:
请问你可以触发marker的点击事件嘛 ,运行环境是什么,我是vite+vue3 好像click无法触发
Sorry, something went wrong.
No branches or pull requests
问题:为了方便不使用聚合 maxClusterZoom 设置为 1;给每个marker 注册点击事件 ,发现缩放后总是第一个addTo的marker的click事件触发不了。(如果先点击第一个元素,再缩放,可以正常触发)。
我排查一阵没怎么看懂,但是在192行 if (maxClusterZoom && zoom > maxClusterZoom) 后加入代码 this._computeGrid(); 之后功能就正常了。不知道这个是什么原因?
The text was updated successfully, but these errors were encountered: