antvis / antvis/L7

BaseLayer.setData,在处理大量数据图层时,速度慢

Open
#1,864 5 comments 4 reactions 2 assignees Claimed by @wch360119203 View on GitHub
good first issue
Dominant language
TypeScript
Stars
4.1k
Forks
656
PR merge metrics
No merged PRs in 30d

Description

* **L7 Version**: 2.17.7
* **Platform**: Chrome 116.0.5845.111
* **Mini Showcase(like screenshots)**:
![微信图片_20230703153209](https://github.com/antvis/L7/assets/67946065/d694c974-51fc-4238-8205-05be559886e1)
* **CodePen Link**:

在大数据量的图层中,更新坐标的速度很慢。
我目前的解决方法是将要修改的元素设为透明,并添加新的图层来存储修改后的元素
有没有可能做一个updateData的方法,用来快速修改图层中元素的坐标

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.