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

[Bug Report] VcPrimitiveCluster中label显示时机异常 #541

Open
MangMax opened this issue Apr 1, 2024 · 4 comments
Open

[Bug Report] VcPrimitiveCluster中label显示时机异常 #541

MangMax opened this issue Apr 1, 2024 · 4 comments

Comments

@MangMax
Copy link
Contributor

MangMax commented Apr 1, 2024

VueCesium version

3.2.7

OS/Browsers version

Edge 123.0.2420.65

Vue version

3.4.21

Cesium version

1.115.0

Reproduction Link

https://codepen.io/1061875478/pen/qBwVrEO

Steps to reproduce

https://codepen.io/1061875478/pen/qBwVrEO
放大缩小地图,可以发现有些label上面没有billboard,但其实他们应该同时出现,根据聚类数量判断应该是label出现过早
image

What is Expected?

label和pooint、billboard出现和消失的时机应该一样并且符合聚类数量统计

What is actually happening?

有时候label会单独出现,而billboard则不会

@zouyaoji
Copy link
Owner

zouyaoji commented Apr 1, 2024

@zouyaoji
Copy link
Owner

zouyaoji commented Apr 1, 2024

你空了测测实体有这个问题没。我对比了聚合代码,就是参考
https://github.com/CesiumGS/cesium/blob/main/packages/engine/Source/DataSources/EntityCluster.js
改的,聚合逻辑是一样的,可能原因在渲染上。

@MangMax
Copy link
Contributor Author

MangMax commented Apr 2, 2024

测试了实体没有出现这个问题,代码上暂时没看出什么问题

@zouyaoji
Copy link
Owner

zouyaoji commented Apr 2, 2024

嗯,着急先用实体吧,图元的找到原因了再说。我看实体的聚合代码,用的也是primitive api。

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