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

1.4.15版本下的高德地图,2d模式下如何正确整合L7? #2106

Closed
E1FANG opened this issue Nov 30, 2023 · 4 comments
Closed

1.4.15版本下的高德地图,2d模式下如何正确整合L7? #2106

E1FANG opened this issue Nov 30, 2023 · 4 comments
Assignees
Labels

Comments

@E1FANG
Copy link

E1FANG commented Nov 30, 2023

问题描述

用了1.x版本的l7是不会报错的,但是在2d模式下实现不了想要的效果(线动画),还会报错
image

我是后面整合的l7,所以是把之前的高德实例传进Scene的
image

重现链接

No response

重现步骤

No response

预期行为

期望能在1.4.15版本下的高德地图,2d模式下,通过l7实现线动画
https://antv-2018.alipay.com/zh-cn/l7/1.x/demo/xian/line_animate.html
如官方例子效果

平台

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

屏幕截图或视频(可选)

No response

补充说明(可选)

No response

Copy link
Contributor

hi @E1FANG, welcome!

@github-actions github-actions bot added the good first issue Good for newcomers label Nov 30, 2023
Copy link
Contributor

Hi @E1FANG, Please star this repo if you find it useful! Thanks ⭐!
你好 @E1FANG。如果该仓库对你有用,可以 star 一下,感谢你的 ⭐!

@lzxue
Copy link
Contributor

lzxue commented Dec 1, 2023

L7 不支持 viewmode 设置为2D ,所谓 2D 是指 canvas 还是 webgl 渲染。我理解你想要的 2D 就是不要地图旋转、倾斜吧,3D 模式下 关闭旋转和倾角配置就是2D

@E1FANG
Copy link
Author

E1FANG commented Dec 1, 2023

谢谢,2d指的是canvas渲染,3d模式下大数据量的热力图太卡了,所以viewmode设置成了2d,暂时用不到3d场景。

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

No branches or pull requests

2 participants