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 message are removed.
This commit is contained in:
Sameh Khamis committed 2026-11-14 18:40:14 -08:00
1 parent 5150279ccf
commit 97bd61711c
16 files changed
+141 -242

No files matched your search

-1
View File
@@ -1311,7 +1311,6 @@
"60°S–60°N · typically 2–3 h delayed": "60°S–60°N · 通常2–3時間遅れ",
"North America · infrared imagery": "北米 · 赤外画像",
"Reduced motion · history playback unavailable": "動きを減らす設定 · 履歴再生は利用不可",
"Reduced motion · manual history available": "動きを減らす設定 · 履歴は手動で表示可能",
"Rain radar · US": "降水レーダー · 米国",
"Lightning density · 15 min": "雷密度 · 15分",
"Satellite clouds": "衛星雲画像",