mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 08:12:24 +00:00
Keep the radio layer's Cesium entities and picks in its rendering part
The radio interaction, selection and navigation parts had left the Cesium allow-list but still read pick objects, toggled entity visibility, removed the selection entity, re-ran clustering and read the Cesium camera. Navigation now reads the camera port's pose; the rest moves into the rendering part.
This commit is contained in:
1 parent
a8f41d30fc
commit
045267c841
7 files changed
+76
-52
No files matched your search
@@ -2,6 +2,7 @@ import test from 'node:test';
|
||||
import assert from 'node:assert/strict';
|
||||
import { createInteraction } from './interaction.js';
|
||||
import { RADIO_PICK_WINDOW_PX } from './policy.js';
|
||||
import { radioStationIdFromPick } from './rendering.js';
|
||||
|
||||
function interaction() {
|
||||
const state = { _stationById: new Map([['kexp', {}]]) };
|
||||
@@ -16,7 +17,7 @@ function interaction() {
|
||||
},
|
||||
overlays: { setOverlaySourceVisible() {} },
|
||||
},
|
||||
parts: {},
|
||||
parts: { rendering: { radioStationIdFromPick } },
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user