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

Feature request: 是否有考虑抽离核心渲染器,支持各个地图类库的 CanvasLayer? #52

Closed
sakitam-fdd opened this issue Oct 31, 2019 · 3 comments

Comments

@sakitam-fdd
Copy link

  • L7 Version:
  • Platform:
  • Mini Showcase(like screenshots):
  • CodePen Link:

是否有考虑抽离核心渲染器,支持各个地图类库的 CanvasLayer?目前如果直接创建 dom 元素的方式会直接覆盖掉原始地图图层,我看到 next 分支相关的新架构貌似目前还没有计划抽离这一块。

@lzxue
Copy link
Contributor

lzxue commented Nov 1, 2019

新架构定义了地图服务接口,可以扩展其他第三方地图,你说的支持地图类库的canvaslayer 是再叠加一层

@sakitam-fdd
Copy link
Author

@lzxue 类似高德的这个API,相当于是将l7作为其他地图的一个图层,这样的好处是可以管理到L7与原始底图图层的层级关系,不过可能跟L7的定位不太一致:joy:

@lzxue
Copy link
Contributor

lzxue commented Nov 14, 2019

@sakitam-fdd 后面有计划跟高德打通的

@lzxue lzxue closed this as completed Nov 14, 2019
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

2 participants