antvis / L7

🌎 Large-scale WebGL-powered Geospatial Data Visualization analysis engine.
https://l7.antv.antgroup.com
MIT License
3.63k stars 633 forks source link

希望增加Marker的显示隐藏操作方法 #2517

Open yong722 opened 4 months ago

yong722 commented 4 months ago

@antv/l7@2.21.10"

目前版本只有marker的移除方法remove,并且移除只是视图上移除了,数据上scene的markerService中marker数据没有移除(并且没有重新显示的方法),希望增加show与hide方法操作marker的显示隐藏(目前只能移除再新增)

github-actions[bot] commented 4 months ago

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

lvisei commented 4 months ago

案例说也应该要移除才合理的

yong722 commented 4 months ago

案例说也应该要移除才合理的

但是scene的markerService中marker数据没有移除,每次移除再新增,数据会一直增加

lvisei commented 4 months ago

需要修复移除才对

github-actions[bot] commented 4 months ago

Hello @yong722, We totally like your proposal/feedback. welcome to send us a Pull Request to solve this problem and contribute to the open source project. After submitting the code, please send a Pull Request to the master branch. We will review it and look forward to your contribution.

你好 @yong722,同意你的反馈,欢迎直接在此仓库 创建一个 Pull Request 来解决这个问题,为开源项目贡献一份力量。提交代码后,请将 Pull Request 发到 master 分支,我们会进行 Review,期待您的贡献。

giphy