mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 08:12:24 +00:00
Draw Radio stations and their clusters through the draw port and take the Radio renderer off the Cesium list
The stations, the cluster dots and the selected station's dot and bracket are draw-port point and icon sets. Stations drawn too close together on screen are grouped by geo/screenCluster.js as the default renderer's entity clustering grouped them: the same boxes and screen coordinates, the same reuse of the last pass's clusters when the eye comes lower, a pass whenever the camera moves enough or a station is shown or hidden, and stations a pass passes over hidden until the next. A cluster dot names its seed station, so a click plays it as before. The Radio QA script reads the drawn sets; the unused cluster-collection internals helper is gone.
This commit is contained in:
1 parent
b2502d6f37
commit
a59f9b10b2
17 files changed
+1134
-352
No files matched your search
@@ -46,15 +46,6 @@ export function billboardCollectionOf(billboard) {
|
||||
return billboard?._billboardCollection;
|
||||
}
|
||||
|
||||
/**
|
||||
* The point collection an `EntityCluster` draws its cluster markers into.
|
||||
* @param {object} clustering Cesium EntityCluster.
|
||||
* @returns {object|null} Cesium PointPrimitiveCollection.
|
||||
*/
|
||||
export function clusterPointCollection(clustering) {
|
||||
return clustering?._clusterPointCollection || null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Close the widget's pending render-loop latch after `useDefaultRenderLoop`
|
||||
* is set false, so a callback already queued sees the loop as stopped and
|
||||
|
||||
Reference in new issue
Block a user