-
-
Notifications
You must be signed in to change notification settings - Fork 70
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
@jaywcjlove 还有一个问题,我这里Marker的位置会随着地图的缩放改变是什么原因 #261
Comments
地图放大时marker的位置会随着地图的放大而往上移动 |
@Garea-git 不知道我理解错了还是什么原因,我看文档示示例是正常的,是你写的示例,还是我文档上的示例有问题 如果是你自己的示例,请提供示例,谢谢 |
不知道什么原因,我在codesandbox试我的代码是正常的,但是在本机上marker就会乱动,我录屏发给你看下? |
https://abc-1302996373.cos.ap-nanjing.myqcloud.com/React%20App%20%E5%92%8C%E5%8F%A6%E5%A4%96%204%20%E4%B8%AA%E9%A1%B5%E9%9D%A2%20-%20%E4%B8%AA%E4%BA%BA%20-%20Microsoft%E2%80%8B%20Edge%202022-11-25%2013-57-59.mp4 |
@Garea-git 你的代码明显不一样,有没有一种可能,你的代码有可能有 bug |
|
你是说哪里不一样? |
你自己都没有办法重现你视频录制里面的错误,我不知道哪儿错误, 通过排除法,肯定排除了组件问题,那剩下的问题就是,本地样式冲了地图的样式,你可以排出这个问题 在你的项目中注释样式,看问题是否存在,如果存在就是样式冲突 |
ok,找到问题了,麻烦了,谢谢。就是样式导致的。😂 |
不知道什么时候抽风了加了一个100vh的行高 |
Originally posted by @Garea-git in #45 (comment)
The text was updated successfully, but these errors were encountered: