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

「Tracker」三方地图接入架构升级 #2411

Open
6 of 7 tasks
lvisei opened this issue Apr 17, 2024 · 1 comment
Open
6 of 7 tasks

「Tracker」三方地图接入架构升级 #2411

lvisei opened this issue Apr 17, 2024 · 1 comment
Assignees

Comments

@lvisei
Copy link
Member

lvisei commented Apr 17, 2024

背景

  1. 数据流程中存在特殊底图高耦合逻辑(高德 V2 / 平面 SIMPLE 投影模式),数据流程中存在多种情形,阅读晦涩,难以维护
  2. 三方地图接入模式不统一,多种模式,高德的接入对 L7 是侵入式的修改
  3. L7 坐标系统复杂,shader 8 种坐标系统,偏移坐标有 4 种(LNGLAT_OFFSET、P20_OFFSET、METER_OFFSET、P20_2)

方案及事项

三方地图接入升级为统一的视口同步

数据抖动升级(大于 20 级时)

非地理坐标投影升级

  • SIMPLE 模式升级为直投影, shader 里支持平面投影模式

旧版地图方案移除

@lvisei
Copy link
Member Author

lvisei commented May 21, 2024

三方地图拆封到插件

  • 百度、腾讯、谷歌、天地图、Mapbox 基于抽象类 BaseMap 实现各自方法,补全缺失方法、解决类型问题
  • 一方 Map 升级,同步升级到 Maplibre 最新版
  • 三方地图,事件抛出数据属性适配,使用 MapLibre底图,新增marker 拖动报错 #2487

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