Merge main into byrdit/recent-imagery-dateline

Resolve the Recent Imagery conflicts on main's renderer ports: dateline slots drape up to two globe-port layers, the drag preview draws a box across ±180°.
This commit is contained in:
German Khokhlov committed 2026-11-19 19:14:59 +04:00
commit 5555aba82c
2619 files changed
+259411 -57489

No files matched your search

+5
View File
@@ -281,6 +281,11 @@ function mapBox(box, fn) {
});
}
/** Degrees box from a degrees rectangle (the camera port's `viewRectangle`). */
export function boxFromDegrees(rectangle) {
return mapBox(rectangle, (degrees) => degrees);
}
/** Degrees box from a radians rectangle (Cesium `Rectangle` shape). */
export function boxFromRectangle(rectangle) {
return mapBox(rectangle, (radians) => (Number(radians) * 180) / Math.PI);