Skip to content
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

Open
aaa1729511481 opened this issue Oct 18, 2024 · 4 comments
Assignees

Comments

@aaa1729511481
Copy link

问题描述

项目中使用41602430的特定尺寸进行开发,使用scale进行自适应,当该项目使用19201080的电脑打开时,给地图中的地块和点图层增加的事件都会偏移。发现只要尺寸脱离特定尺寸,地图的移入事件和点击事件就会开始偏移,这种该怎么解决呢

重现链接

No response

重现步骤

No response

预期行为

No response

平台

  • 操作系统: [macOS, Windows, Linux, React Native ...]
  • 网页浏览器: [Google Chrome, Safari, Firefox]

屏幕截图或视频(可选)

No response

补充说明(可选)

No response

@aaa1729511481
Copy link
Author

试了返向scale去处理,点位的移入事件还是会偏移,有没有牢大知道怎么解决这种问题

@lzxue
Copy link
Contributor

lzxue commented Oct 18, 2024

交互事件确实有问题,需要底层支持

@aaa1729511481
Copy link
Author

交互事件确实有问题,需要基础支持

有什么方法能暂时性处理吗?或者以后的版本是否会解决当前这种类似的问题

@helloworld8686
Copy link

G2和L7都存在这个问题,只要容器用缩放值,所有点击事件的位置都是错的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants
@lzxue @helloworld8686 @heiyexing @aaa1729511481 and others