fix(camera): moveEnd fires during a follow once the eye stands still, as Cesium's did

Cesium raised moveEnd 500 ms after the camera last moved, following or
not: a followed target that moves keeps the eye moving, and one that
stands still (a marker, a parked aircraft) lets the move end once
the user stops orbiting it. The port never raised moveEnd while
following, so Weather, Recent Imagery, the share link and every other
moveEnd listener stopped catching up around a still target. The rule is
now the eye's alone, through the shared camera events.
This commit is contained in:
Sameh Khamis committed 2026-11-14 00:46:51 -08:00
1 parent 63a6595eaf
commit 5d48503c51
6 files changed
+25 -28

No files matched your search

+3 -1
View File
@@ -16,7 +16,9 @@
* view by the larger of the direction's turn over half the vertical field
* of view and the eye's travel over its height, since the view last
* fired. A frame can fire it twice, once for each measure.
* - `moveEnd` fires 500 ms after the last change, and never while following.
* - `moveEnd` fires 500 ms after the last change of the eye, following or
* not: a followed target that moves keeps the eye moving, and one that
* stands still lets the move end.
* - A flight's `onCancel` and `onComplete` run synchronously, inside the call
* or frame that ends it.
* - Axes follow the usual convention: heading clockwise from north, pitch