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

天地图作为底图时,地图拖动后,popup位置会偏移 #2551

Open
biorgg opened this issue Jun 24, 2024 · 4 comments
Open

天地图作为底图时,地图拖动后,popup位置会偏移 #2551

biorgg opened this issue Jun 24, 2024 · 4 comments
Assignees

Comments

@biorgg
Copy link

biorgg commented Jun 24, 2024

问题描述

天地图作为底图时,地图拖动后,popup位置会偏移

重现链接

No response

重现步骤

No response

预期行为

No response

平台

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

屏幕截图或视频(可选)

No response

补充说明(可选)

No response

Copy link
Contributor

hi @biorgg, welcome!

Copy link
Contributor

Hi @biorgg, Please star this repo if you find it useful! Thanks ⭐!
你好~ @biorgg 🌟 如果这个仓库对你有帮助,可以给我们点个star支持一下~你的支持对我们来说是最大的鼓励,感谢你的支持与点赞 🌟

@guangze233
Copy link

guangze233 commented Dec 12, 2024

我遇到了同样的问题。
产生方式:通过 import { TMap } from "@antv/l7-maps" 集成天地图 ,见图表演示·天地图;PointLayer+LayerPopup展示点数据和popup;
错误效果:初次加载天地图和点数据时,popup位置正常,地图拖动后,popup位置会偏移。
解决方式:通过瓦片图层的方式来加载天地图瓦片(import { Map } from "@antv/l7-maps";),见使用教程·天地图

@yuankc
Copy link

yuankc commented Jan 21, 2025

我也遇到这个问题,而且地图放大位置偏移的更厉害,并且点击某个坐标弹出popup位置也有问题,天地图兼容上还是不如高德

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

4 participants