OSINT Monitor Toggle entfernt — automatische Integration

Kein separater OSINT Monitor Layer mehr im Panel.
Bei Lage-Auswahl im Header passiert automatisch:
1. Monitor-Standorte werden auf dem Globus angezeigt (rote Punkte)
2. Katastrophen-Klick zeigt passende Monitor-Artikel zum Ort
3. Keine Lage = keine Monitor-Daten

Flow: Lage waehlen -> Monitor-Daten laden -> Katastrophen
zeigen ortsspezifische Artikel beim Klick.
Dieser Commit ist enthalten in:
Claude Dev
2026-03-24 13:50:20 +01:00
Ursprung 7738300dff
Commit be585590be
3 geänderte Dateien mit 19 neuen und 33 gelöschten Zeilen

Datei anzeigen

@@ -28,10 +28,15 @@ const DisastersLayer = {
_fetchMonitorContext() {
var self = this;
var lageId = (typeof Globe !== 'undefined' && Globe._currentLageId) ? Globe._currentLageId : '';
fetch('/api/monitor-feed' + (lageId ? '?incident_id=' + lageId : ''))
var lageId = (typeof Globe !== 'undefined') ? Globe._currentLageId : null;
if (!lageId) { self._monitorData = null; return; }
fetch('/api/monitor-feed?incident_id=' + lageId)
.then(function(r) { return r.json(); })
.then(function(data) { self._monitorData = data; })
.then(function(data) {
self._monitorData = data;
// Katastrophen neu rendern mit Monitor-Kontext
if (self._dataSource) self._fetch();
})
.catch(function() {});
},