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

求助:引入地图组件后,页面初始化加载时发现 地图显示变形 #3

Open
xiqiuqiu opened this issue Nov 10, 2022 · 2 comments

Comments

@xiqiuqiu
Copy link

xiqiuqiu commented Nov 10, 2022

描述

你好,我测试时候发现,当初始化加载得时候必然出现地图变形得情况,画面其它元素都正常显示;只有当窗口尺寸变化时(比如按F11全屏)画面就正常了;我自己觉得是在init的时候会变形,而在update的时候地图显示就能正常。想请问下这个情况有可能问题出在哪里?

环境

  • 地图组件使用antvL7
  • V-scale-screen使用的是VUE2
  • 页面初始尺寸是1920*1080

期望

z93v4g.png

实际

z93zCQ.png

@Alfred-Skyblue
Copy link
Owner

地图可以使用iframe嵌套一下解决

@itagan
Copy link

itagan commented Mar 2, 2023

我这echarts的地图,采用延时页面渲染后resize把它拉回正常位置

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

3 participants