A weather layer without a shared clock keeps its own on the world clock

Built without a weather clock, the weather layer still ran a frame replay
of its own: params.play stepped its frames every two seconds and went round
from the last to the first, params.step and params.latest picked frames
locally, and the layer tracked whether it followed the newest frame. That
was a second way to move time.

The layer now builds a weather clock on the page's world clock when none
is passed, and destroys it with the layer, so every layer follows the world
clock and its params move the world clock as the timeline does. The local
replay, its timer, the follow-latest flag, the wrap to the first frame, the
timerActive diagnostic and the reduced-motion "manual history available"
message are removed.
This commit is contained in:
Sameh Khamis committed 2026-11-14 20:26:26 -08:00
1 parent 3cfd414e70
commit 326cab4cf2
16 files changed
+141 -242

No files matched your search

-1
View File
@@ -1936,7 +1936,6 @@
"60°S–60°N · typically 2–3 h delayed": "60°S–60°N · meist 2–3 h verzögert",
"North America · infrared imagery": "Nordamerika · Infrarotbilder",
"Reduced motion · history playback unavailable": "Reduzierte Bewegung · Verlaufswiedergabe nicht verfügbar",
"Reduced motion · manual history available": "Reduzierte Bewegung · manueller Verlauf verfügbar",
"Rain radar · US": "Regenradar · USA",
"Lightning density · 15 min": "Blitzdichte · 15 min",
"Satellite clouds": "Wolken (Satellit)",