mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-17 00:32:21 +00:00
Read Context's camera and clicks through the renderer's ports
Context no longer reaches into Cesium or the viewer: the view it describes comes from the camera port (pose, view rectangle, moveEnd and changed), a fly-to goes through flyToBounds, and clicks come from the input dispatcher, which picks each click once for every layer and skips it while a tool holds the pointer. The card says Following while the camera follows its own item, as the follow's key names it (src/data/followed.js), whoever started the follow. Co-authored-by: Manjunath Paparaju <[email protected]>
This commit is contained in:
1 parent
7552763ea1
commit
46851db515
2 files changed
+93
-128
No files matched your search
@@ -280,7 +280,7 @@ export const useEntityCardStore = defineStore('gev-entity-card', () => {
|
||||
}
|
||||
|
||||
function clear() {
|
||||
if (following.value) shell.value?.letGo?.();
|
||||
if (following.value) shell.value?.letGo?.(card.value);
|
||||
following.value = null;
|
||||
clearInterval(timer);
|
||||
timer = null;
|
||||
|
||||
Reference in new issue
Block a user