lazyflat/web
Moritz 4fd0b50a43 fix: lazy-init Leaflet map so tiles actually load
The map was being initialised on DOMContentLoaded even when its container
was display:none (0×0). Leaflet sets up internal bounds from container size
at init; on a zero-sized container no tiles are ever requested. Even
invalidateSize afterwards didn't recover reliably.

* map.js now only builds the Leaflet instance once the container has real
  dimensions (clientHeight >= 10). Triggered when the view toggle flips to
  Karte (rAF x2 + safety timers), and via restoreView on page load if the
  user's last choice was Karte.
* CSP img-src now includes https://unpkg.com for Leaflet marker icons.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-21 12:14:54 +02:00
..
static fix: lazy-init Leaflet map so tiles actually load 2026-04-21 12:14:54 +02:00
templates UX: alarm-status, ablehnen-button, annika-footer, map polish 2026-04-21 12:09:44 +02:00
app.py fix: lazy-init Leaflet map so tiles actually load 2026-04-21 12:14:54 +02:00
apply_client.py multi-user: users, per-user profiles/filters/notifications, tab UI, apply forensics 2026-04-21 10:52:41 +02:00
auth.py multi-user: users, per-user profiles/filters/notifications, tab UI, apply forensics 2026-04-21 10:52:41 +02:00
db.py UX: alarm-status, ablehnen-button, annika-footer, map polish 2026-04-21 12:09:44 +02:00
Dockerfile lazyflat: combined alert + apply behind authenticated web UI 2026-04-21 09:51:35 +02:00
matching.py multi-user: users, per-user profiles/filters/notifications, tab UI, apply forensics 2026-04-21 10:52:41 +02:00
notifications.py multi-user: users, per-user profiles/filters/notifications, tab UI, apply forensics 2026-04-21 10:52:41 +02:00
requirements.txt lazyflat: combined alert + apply behind authenticated web UI 2026-04-21 09:51:35 +02:00
retention.py multi-user: users, per-user profiles/filters/notifications, tab UI, apply forensics 2026-04-21 10:52:41 +02:00
settings.py ui: live timers, Berlin timestamps, ZIP failure reports, drop kill-switch/Fehler tab 2026-04-21 11:09:37 +02:00