Concession visibility toggle in layer control (layer-toggles.tsx) #52

Closed
opened 2026-10-14 22:28:37 +00:00 by yuris · 1 comment
Owner

What to build

Add a dedicated layer visibility switch for Concession Boundaries in src/components/controls/layer-toggles.tsx with legend swatches for Sawit (HGU), HTI, and Konservasi.

Technical specifications

  1. Target files:
    • src/components/controls/layer-toggles.tsx: Add concessions toggle item.
    • src/store/map-store.ts: Add showConcessions: boolean state.

Acceptance criteria

  • Toggle switch enables/disables concession layer without affecting other active layers.
  • Legend swatch displays color coding for quick field reference.

Blocked by

  • Issue 38: [Frontend] Concession vector boundary & translucent fill layer (concessions-layer.tsx).

Authoritative Specifications & Reference Documentation

  • Titik Gambut Architecture & Subsystem Contract: docs/ARCHITECTURE.md
  • Kementerian ATR/BPN Satu Peta HGU: Satu Peta Geoportal — Official cadastral HGU plantation concessions.
  • KLHK Geoportal PBPH-HTI / PBPH-HA: KemenLHK WebGIS — Forestry and pulpwood concession boundaries.
  • Global Forest Watch Indonesia Concessions: GFW Open Data — Reference timber and palm oil concessions.
### What to build Add a dedicated layer visibility switch for Concession Boundaries in `src/components/controls/layer-toggles.tsx` with legend swatches for Sawit (HGU), HTI, and Konservasi. ### Technical specifications 1. **Target files**: - `src/components/controls/layer-toggles.tsx`: Add concessions toggle item. - `src/store/map-store.ts`: Add `showConcessions: boolean` state. ### Acceptance criteria - [ ] Toggle switch enables/disables concession layer without affecting other active layers. - [ ] Legend swatch displays color coding for quick field reference. ### Blocked by - Issue 38: [Frontend] Concession vector boundary & translucent fill layer (`concessions-layer.tsx`). --- ### 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) - **Kementerian ATR/BPN Satu Peta HGU**: [Satu Peta Geoportal](https://satupeta.atrbpn.go.id/) — Official cadastral HGU plantation concessions. - **KLHK Geoportal PBPH-HTI / PBPH-HA**: [KemenLHK WebGIS](https://geoportal.menlhk.go.id/) — Forestry and pulpwood concession boundaries. - **Global Forest Watch Indonesia Concessions**: [GFW Open Data](https://data.globalforestwatch.org/) — Reference timber and palm oil concessions.
yuris changed title from Issue 39: [Frontend] Concession visibility toggle in layer control (layer-toggles.tsx) to [Frontend] Concession visibility toggle in layer control (layer-toggles.tsx) 2026-10-14 22:31:27 +00:00
yuris changed title from [Frontend] Concession visibility toggle in layer control (layer-toggles.tsx) to Concession visibility toggle in layer control (layer-toggles.tsx) 2026-10-14 22:38:32 +00:00
Author
Owner

Closing as completed. Concession boundary visibility toggles, state hooks, and legend swatches (Sawit HGU, HTI, Konservasi) were implemented in src/components/controls/layer-toggles.tsx and merged into main via PR #116.

Closing as completed. Concession boundary visibility toggles, state hooks, and legend swatches (Sawit HGU, HTI, Konservasi) were implemented in `src/components/controls/layer-toggles.tsx` and merged into `main` via PR #116.
yuris closed this issue 2026-10-15 05:59:08 +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#52
No description provided.