cesium icon indicating copy to clipboard operation
cesium copied to clipboard

EntityCluster is not fully enabled when zoomout

Open cavencj opened this issue 2 years ago • 4 comments

the link is example

https://sandcastle.cesium.com/index.html#c=tVTbbtpAEP2VEX3ANLDY5NLUGFSJ5K1Ro0TtS8jD2p6QVexda70m0Ih/76xtHFNHSiu1IMTumTlz5mZHSuYG1gKfUcMMJD7DAnNRpOxHiTnLXlTeF0oaLiTqZW8wXcqljEqmyoygA1FflhIg4ilq7tcBWR6hRFaBw8ou1zzv2C1I9l0Z2H7hoZCRjQywIhfNDV6rXFjEkUU6qNQAEjSQCMpjBnf30wp7UBocaxCEulP6C4A4dDg6aog1Va7Ix5u47Pjcc0/Pzz7DEVxx88g0l7FKnQF8BJedTg9I3Mode8xzPe/0bPLpPQ7lx7Iif3TuSG9o+feD2rqr/jSaQsvSszTsmj40mtvf57MocqPSC274rSp0hE4/SghC3d8HL0msRoVcMZQ8TDCmOEYXOH0NnykhjR1ip9meS599wMqNUYMvefToOMIgjWI2bzW1lERpiI0543HsNDbLr6L6TQ1cGzpxecweNBWDK42Yl3Hv3PshlAfvfjBsx6AcfHgBeMVKXGwwuRU/0ffc4aEpUonS/l7SXtjN5UXjs2vcd81YqhWvtzRuelxVVBY5mPaGvSA32wTne/4XkWZKGyh04jA2puQzGjbm47CIntCwKM8HzVp8MEolIdfQalDIo6eVVoWMfdCrkDsnkyHsfy47f2VTwZQKDdWHk2zTgkOlY9QjzWNR5IfGXUdayKww7QTWqI2IeDLiiVjRnFIRxwl2VUdGZT5MDpT3plAZWsxDay0djNsNC2KxBhHP3njFQJTwPCfLQ5GUU1325sGY/DvURHGr+o0yp7lYt0dv/rUCGWPBmK5vM+smEGWfZWDs8zF/LSkwoYq38/Y6BUbPD9crMPH82m4f3HC5wmBM967HIUJY1XuzzZBy0ZZJZadC0s2zJ76h08R16UzPb1bDdhdHoZC2gDVPCvSrzS+lh1BC3zPyIkO/lOi3Cnxb3ODGWBVqs5V8T6UTr1MxAfoPmnYlpEiLFBbVGwrsnP9B9yat7r3bvLTKoU7BZvA/m9hV++tm0vVgJ+neWtr2pv8C

image

cavencj avatar Jun 21 '23 01:06 cavencj

By setting camera.percentageChanged, the callback for camera changes can be triggered faster. The smaller the value, the more frequently the callback is triggered. Conversely, the callback trigger frequency will be lower, with a default value of 0.5.

for example

viewer.scene.camera.percentageChanged = 0.05;

IKangXu avatar Jun 21 '23 06:06 IKangXu

Thanks for the report @IKangXu. I agree the defaults are not ideal for this use case. Clustering as a feature probably needs some TLC regarding general usability. We'll consider the percentageChanged value, as well as if the Camera.changed event is the correct event to tie this to.

ggetz avatar Jun 28 '23 16:06 ggetz

@ggetz Has this issue been resolved now? I encountered a similar problem in 2025

Duan971231 avatar Nov 29 '25 10:11 Duan971231

@ggetz When billboards outside the screen do not participate in aggregation calculations, the aggregated results will consist of many individual billboards. After the perspective shifts, there will be a period of time where only a single billboard is displayed

Duan971231 avatar Nov 29 '25 10:11 Duan971231