Dynamic tactical response vector line layer (dispatch-vector-layer.tsx) #64

Closed
opened 2026-10-14 22:28:40 +00:00 by yuris · 0 comments
Owner

What to build

Render a dynamic, dashed tactical dispatch line on the MapLibre canvas connecting the selected fire cluster centroid to its assigned nearest Manggala Agni response base.

Technical specifications

  1. Target files:
    • src/components/map/layers/dispatch-vector-layer.tsx: MapLibre GeoJSON line layer.
  2. Visual design:
    • Line dasharray: [2, 2].
    • Line color: Dynamic based on risk (amber #f59e0b for WASPADA, red #ef4444 for SIAGA).
    • Line width: 2.0px.

Acceptance criteria

  • Vector line animates or draws between cluster and station when cluster is selected.
  • Removes line cleanly when cluster selection is dismissed.
  • Zero lag or rendering flicker during camera movement.

Blocked by

  • Issue 48: [Backend] Nearest firefighter Haversine routing & transit time calculator (firefighters.ts).

Authoritative Specifications & Reference Documentation

  • Titik Gambut Architecture & Subsystem Contract: docs/ARCHITECTURE.md
  • KLHK SiPongi+ Hotspot & Karhutla Command: sipongi.menlhk.go.id — Official active fire detection, Manggala Agni DAOPS operational stations, and field suppression records.
  • Manggala Agni Daops Directory: Ditjen PPI KLHK — Directory of 37 operational regions across Sumatra and Kalimantan.
### What to build Render a dynamic, dashed tactical dispatch line on the MapLibre canvas connecting the selected fire cluster centroid to its assigned nearest Manggala Agni response base. ### Technical specifications 1. **Target files**: - `src/components/map/layers/dispatch-vector-layer.tsx`: MapLibre GeoJSON line layer. 2. **Visual design**: - Line dasharray: `[2, 2]`. - Line color: Dynamic based on risk (amber `#f59e0b` for WASPADA, red `#ef4444` for SIAGA). - Line width: 2.0px. ### Acceptance criteria - [ ] Vector line animates or draws between cluster and station when cluster is selected. - [ ] Removes line cleanly when cluster selection is dismissed. - [ ] Zero lag or rendering flicker during camera movement. ### Blocked by - Issue 48: [Backend] Nearest firefighter Haversine routing & transit time calculator (`firefighters.ts`). --- ### Authoritative Specifications & Reference Documentation - **Titik Gambut Architecture & Subsystem Contract**: [`docs/ARCHITECTURE.md`](https://git.nokopia.com/yuris/titik-gambut-next/src/branch/main/docs/ARCHITECTURE.md) - **KLHK SiPongi+ Hotspot & Karhutla Command**: [sipongi.menlhk.go.id](https://sipongi.menlhk.go.id/) — Official active fire detection, Manggala Agni DAOPS operational stations, and field suppression records. - **Manggala Agni Daops Directory**: [Ditjen PPI KLHK](http://ditjenppi.menlhk.go.id/) — Directory of 37 operational regions across Sumatra and Kalimantan.
yuris changed title from Issue 51: [Frontend] Dynamic tactical response vector line layer (dispatch-vector-layer.tsx) to [Frontend] Dynamic tactical response vector line layer (dispatch-vector-layer.tsx) 2026-10-14 22:31:25 +00:00
yuris changed title from [Frontend] Dynamic tactical response vector line layer (dispatch-vector-layer.tsx) to Dynamic tactical response vector line layer (dispatch-vector-layer.tsx) 2026-10-14 22:38:30 +00:00
yuris closed this issue 2026-10-15 04:53:35 +00:00
Sign in to join this conversation.
No labels
backend
frontend
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
yuris/titik-gambut-next#64
No description provided.