feat(map): Conflicts zone overlay (Leaflet) #39

Merged
sirius merged 2 commits from osint-dashboard/t_fd263e32-osint-map-conflict-zone-overlay into master 2026-08-31 22:15:42 -04:00
Owner

Depends on GET /api/conflicts from #33.

  • LAYERS toggle Conflicts (default off)
  • GET /api/conflicts once (not on moveend) → L.circleMarker per zone
  • Color by severity: war / high / elevated
  • Popup: label, description, eventCount
  • 404 hides the toggle (so this can merge before #33)
  • Skip null lat/lon (no 0,0 ghosts)
  • No LiveUAMap scrape, no jittered dots

Verified: tests/test_conflicts_frontend.py (5) plus sibling frontend contract tests; Playwright stub: 3 markers on toggle, popup fields, 404 hides row.

Depends on GET /api/conflicts from #33. - LAYERS toggle **Conflicts** (default off) - `GET /api/conflicts` once (not on moveend) → `L.circleMarker` per zone - Color by severity: war / high / elevated - Popup: label, description, eventCount - 404 hides the toggle (so this can merge before #33) - Skip null lat/lon (no 0,0 ghosts) - No LiveUAMap scrape, no jittered dots Verified: `tests/test_conflicts_frontend.py` (5) plus sibling frontend contract tests; Playwright stub: 3 markers on toggle, popup fields, 404 hides row.
sirius added 2 commits 2026-08-31 21:35:40 -04:00
Default-off LAYERS row paints L.circleMarker theatres colored by
severity (war/high/elevated). Popup shows label, description, and
eventCount. Catalog is fetched once (not on moveend). A 404 hides
the toggle. Null lat/lon rows are skipped so they never pin at 0,0.
sirius merged commit 1383305409 into master 2026-08-31 22:15:42 -04:00
sirius referenced this pull request from a commit 2026-08-31 22:21:05 -04:00
sirius referenced this pull request from a commit 2026-08-31 22:21:05 -04:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: sirius/osint-dashboard#39
No description provided.