feat(map): concession vector boundary & translucent fill layer (concessions-layer.tsx) #51
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What to build
Implement the MapLibre GL JS concession vector layer in
src/components/map/layers/concessions-layer.tsxto render authentic corporate concession boundaries frompublic/tiles/concessions.pmtiles(or Cloudflare R2 CDN) with color-coded boundaries and translucent fills based on concession type.Technical specifications
src/components/map/layers/concessions-layer.tsx: Source and layer specifications.src/components/map/map-view.tsx: Layer mounting behindhotspots-clusters.concessions-sourceconcessionspmtiles:///tiles/concessions.pmtiles(resolved via CDN whenNEXT_PUBLIC_CDN_URLis set).DESIGN.md):HGU_SAWIT/SAWIT_HGU): Stroke#f59e0b(Amber-500), Fillrgba(245, 158, 11, 0.12).PBPH_HTI): Stroke#a855f7(Purple-500), Fillrgba(168, 85, 247, 0.12).IUPHHK_HA/PBPH_HA): Stroke#3b82f6(Blue-500), Fillrgba(59, 130, 246, 0.12).KONSERVASI): Stroke#10b981(Emerald-500), Fillrgba(16, 185, 129, 0.15).addConcessionsLayers(map: MapLibreMap): voidsetConcessionsVisibility(map: MapLibreMap, visible: boolean): voidAcceptance criteria
layer-toggles.tsx.Issue 38: [Frontend] Concession vector boundary & translucent fill layer (to [Frontend] Concession vector boundary & translucent fill layer (concessions-layer.tsx)concessions-layer.tsx)[Frontend] Concession vector boundary & translucent fill layer (to Concession vector boundary & translucent fill layer (concessions-layer.tsx)concessions-layer.tsx)Concession vector boundary & translucent fill layer (to feat(map): concession vector boundary & translucent fill layer (concessions-layer.tsx)concessions-layer.tsx)