-
Notifications
You must be signed in to change notification settings - Fork 11
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
当进行缩放时,marker点会偏移 #1
Comments
因为你的图片大小是 50x50,但实际显示的方块是左上角 10x10,marker 的中心和看起来小方块中心不一致
改成这样看起来就不偏移了 |
log输出的坐标是在不同缩放下,鼠标点击 红点 的坐标值 ( marker定义的坐标是 0, 0 ) |
确实有问题,指针中心没考虑到位置偏移 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
不知道哪里出了问题,大佬能否帮忙看看,代码: https://github.com/3DMXM/canvaskit-map-bug
The text was updated successfully, but these errors were encountered: