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

2.22.0版本的高德地图与自建的图层存在偏差 #2575

Open
gx304419380 opened this issue Jul 23, 2024 · 7 comments
Open

2.22.0版本的高德地图与自建的图层存在偏差 #2575

gx304419380 opened this issue Jul 23, 2024 · 7 comments
Assignees
Labels
question 疑问/使用问题

Comments

@gx304419380
Copy link

问题描述

新版本的高德地图与自建的图层存在偏差:
image
老版本没有这个问题

重现链接

No response

重现步骤

No response

预期行为

No response

平台

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

屏幕截图或视频(可选)

No response

补充说明(可选)

No response

Copy link
Contributor

hi @gx304419380, welcome!

Copy link
Contributor

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

@lvisei lvisei assigned lvisei and unassigned lzxue Jul 23, 2024
@lvisei
Copy link
Member

lvisei commented Jul 23, 2024

  1. 复现示例,提供 codesanbox 链接地址
  2. 检查数据是否为火星坐标

@lvisei lvisei added the 🤔 need reproduce issue 需要一个在线复现链接 label Jul 23, 2024
Copy link
Contributor

Hello @gx304419380. Please provide a online reproduction by forking codesandbox of @antv/l7 demo template Issues labeled by Need Reproduce will be closed if no activities in 3 days.

你好 @gx304419380, 我们需要你提供一个在线的重现实例以便于我们帮你排查问题。你可以通过点击这里创建一个 @antv/l7 demo 模板 3 天内未跟进此 issue 将会被自动关闭。

@gx304419380
Copy link
Author

gx304419380 commented Jul 23, 2024

Hello @gx304419380. Please provide a online reproduction by forking codesandbox of @antv/l7 demo template Issues labeled by Need Reproduce will be closed if no activities in 3 days.

你好 @gx304419380, 我们需要你提供一个在线的重现实例以便于我们帮你排查问题。你可以通过点击这里创建一个 @antv/l7 demo 模板 3 天内未跟进此 issue 将会被自动关闭。

demo

@gx304419380
Copy link
Author

浙江省地图是从阿里巴巴的:https://datav.aliyun.com/portal/school/atlas/area_selector 这个地方拿到的

@lvisei
Copy link
Member

lvisei commented Jul 23, 2024

问题

2.22 升级了高德地图同步方式,采用与 Mapbox 一致的架构,高德采用了偏移坐标,在高仰角情况下,移动图形到边缘(非中心点),会存在偏移情况。

  • 新版和旧版在仰角非常大的情况下,绘制的图层跑天上
  • 在 Mapbox 上不存在这个问题

2.22 版本

  • 开启 60 倾角
  • 复现 demo
2.22.60.mov

2.21 版本

  • 开启 60 倾角
  • 复现 demo
2.21.60.mov

@lvisei lvisei added question 疑问/使用问题 and removed 🤔 need reproduce issue 需要一个在线复现链接 labels Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question 疑问/使用问题
Projects
None yet
Development

No branches or pull requests

3 participants