mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-05 19:04:02 +00:00
Move satellites, launches and the sky with the world time
Layers whose data has a time of its own follow the page's world clock from the start; live feeds such as flights, military, vessels and transit stay live. Launches register the span of the launches loaded, so turning them on brings up the timeline. Each timed layer registers its coverage once and reports none while off, telling the clock after each step has settled. The launch feed keeps its own window, and an orbit ring is drawn again once the world time has moved far from when it was drawn.
This commit is contained in:
1 parent
690a6637e2
commit
3534398771
14 files changed
+123
-45
No files matched your search
@@ -74,9 +74,11 @@ test('bikeshare stations join coordinates from station information', () => {
|
||||
assert.deepEqual(methods.getAnalystRecords(), []);
|
||||
});
|
||||
|
||||
test('launches carry time and hours until launch', () => {
|
||||
const at = Date.now() + 5 * 3_600_000;
|
||||
test('launches carry time and hours until launch at the world time', () => {
|
||||
const now = Date.UTC(2026, 10, 1);
|
||||
const at = now + 5 * 3_600_000;
|
||||
const state = {
|
||||
now: () => now,
|
||||
_enabled: true,
|
||||
_launches: [
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user