fix: render live V2X vehicles in Cesium preview
This commit is contained in:
@@ -1437,7 +1437,10 @@
|
||||
];
|
||||
if (v2xOverlay?.state) {
|
||||
lines.push("Vehicle data: " + (v2xOverlay.state.vehicleSource === "live" ? "live V2X" : "waiting for live V2X"));
|
||||
lines.push("Live vehicles: " + v2xOverlay.state.vehicles.size);
|
||||
lines.push("Live vehicles: " + (v2xOverlay.state?.registry?.visibleSize ?? 0));
|
||||
lines.push("Target WS: " + (v2xOverlay.state?.targetMessages ?? 0) + " messages / " + (v2xOverlay.state?.targetLastCount ?? 0) + " parsed");
|
||||
lines.push("Target payload: " + (v2xOverlay.state?.targetPayloadShape || "waiting"));
|
||||
if (v2xOverlay.state?.targetLastError) lines.push("Target error: " + v2xOverlay.state.targetLastError);
|
||||
}
|
||||
if (failed.length) {
|
||||
lines.push("Failed assets: " + failed.map((asset) => asset.url).join(", "));
|
||||
|
||||
Reference in New Issue
Block a user