-
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
大屏使用scale自适应布局,地图上面的地块 和 点图层 增加移入效果会出现较严重的偏移 #2623
Comments
试了返向scale去处理,点位的移入事件还是会偏移,有没有牢大知道怎么解决这种问题 |
交互事件确实有问题,需要底层支持 |
有什么方法能暂时性处理吗?或者以后的版本是否会解决当前这种类似的问题 |
G2和L7都存在这个问题,只要容器用缩放值,所有点击事件的位置都是错的 |
蹲 |
用iframe暂时解决,地图的交互效果不多的情况,可以存储在store里面,在其他页面去监听store里面的值实现交互 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
问题描述
项目中使用41602430的特定尺寸进行开发,使用scale进行自适应,当该项目使用19201080的电脑打开时,给地图中的地块和点图层增加的事件都会偏移。发现只要尺寸脱离特定尺寸,地图的移入事件和点击事件就会开始偏移,这种该怎么解决呢
重现链接
No response
重现步骤
No response
预期行为
No response
平台
屏幕截图或视频(可选)
No response
补充说明(可选)
No response
The text was updated successfully, but these errors were encountered: