fix(layers): pause periodic network updates in hidden tabs

This commit is contained in:
Said committed 2026-10-20 01:25:40 +01:00
1 parent de2138e84c
commit ec0985618c
7 files changed
+81 -18

No files matched your search

+2
View File
@@ -1,5 +1,7 @@
# God's Eye View Current State
Manager-owned periodic network updates pause while the document is hidden. Returning to a visible tab runs one overdue update per enabled layer without overlapping an active refresh; explicit refresh requests remain available. Transit also defers camera-driven feed admission while hidden and rechecks coverage on return. Visibility listeners are released with their polling intervals.
Shared distance checks use `src/geoDistance.js` with `{ lat, lon }` points and
the IUGG mean spherical Earth radius, 6371.0088 km. `greatCircleKm` is
canonical; `greatCircleMeters` is its exact metre conversion. Missing,