feat(globe): a follow handle names its target

FollowHandle.target() returns the followed point, checked by the contract
on both engines. The contract's model check now waits for ready() before
looking for the model's pixels: the magenta point and sprites could fill
the region before the glTF loaded (qa-globe-contract cesium 73/73,
navara 79/79).
This commit is contained in:
German Khokhlov committed 2026-10-17 03:48:11 +04:00
1 parent ba1191b2e5
commit dcfb1219d5
4 files changed
+26 -1

No files matched your search

+2
View File
@@ -150,6 +150,8 @@
* @typedef {object} FollowHandle
* @property {() => void} stop
* @property {(next: Partial<FollowOptions>) => void} retarget
* @property {() => (Cartesian3 | undefined)} target Where the followed
* target is now (what the follow centres).
* @property {any} [native]
* @property {object} [label] FollowOptions.label.
*