diff --git a/D03_PlanAnalysis/D03_PlanAnalysis_UI_ForestLayers.ts b/D03_PlanAnalysis/D03_PlanAnalysis_UI_ForestLayers.ts index 471dade28..c7aa20c51 100644 --- a/D03_PlanAnalysis/D03_PlanAnalysis_UI_ForestLayers.ts +++ b/D03_PlanAnalysis/D03_PlanAnalysis_UI_ForestLayers.ts @@ -77,12 +77,11 @@ const ECO_KINDS = [ { own: "국유", color: "--draw-map-eco-national" }, { own: "사유", color: "--draw-map-eco-private" }, ]; -/** 생태자연도 범례 = 환경부 원도 색(조각 그림 그대로). */ +/** 생태자연도 범례 = 환경부 WMS 그림 색(3등급 = 칠 없음). */ const ECOLOGY_LEGEND = [ { label: "1등급", color: "--draw-map-ecology-1" }, { label: "2등급", color: "--draw-map-ecology-2" }, - { label: "3등급", color: "--draw-map-ecology-3" }, - { label: "별도관리", color: "--draw-map-ecology-x" }, + { label: "별도관리지역", color: "--draw-map-ecology-x" }, ]; const HALO = "rgba(0, 0, 0, 0.55)"; diff --git a/D03_PlanAnalysis/D03_PlanAnalysis_UI_LayerDefs.ts b/D03_PlanAnalysis/D03_PlanAnalysis_UI_LayerDefs.ts index aad87619f..ccf4dce8b 100644 --- a/D03_PlanAnalysis/D03_PlanAnalysis_UI_LayerDefs.ts +++ b/D03_PlanAnalysis/D03_PlanAnalysis_UI_LayerDefs.ts @@ -164,10 +164,10 @@ export const ZONE_COLORS: Record = { wildlife: "--draw-map-zone-wildlife", greenbelt: "--draw-map-zone-greenbelt", }; -/** 산사태위험지도 범례(1 등급 = 가장 위험). */ +/** 산사태위험지도 범례(1 등급 = 가장 위험 · 색 = WMS 그림 색). */ export const LANDSLIDE_LEGEND: LegendItem[] = [1, 2, 3, 4, 5].map((grade) => ({ label: `${grade}등급`, - color: `var(--draw-map-landslide-${grade})`, + color: `var(--draw-map-landslide-grade-${grade})`, })); /** 선 겹 — 이름 · 그림 꼴(서버 `LINE_KINDS` 열쇠 = `kind` · 없으면 0차곡). 새 선 겹 = 여기 한 줄. */ export type LineLayerKey = "faults" | "lineaments" | "zeroOrder"; diff --git a/ui_template/ui_template_theme.css b/ui_template/ui_template_theme.css index d11bcadc9..3294e052e 100644 --- a/ui_template/ui_template_theme.css +++ b/ui_template/ui_template_theme.css @@ -580,6 +580,11 @@ html.is-bm-route .m01lab-src__body * { --draw-map-landslide-3: #facc15; --draw-map-landslide-4: #a3e635; --draw-map-landslide-5: #4ade80; + --draw-map-landslide-grade-1: #dc1010; /* 산사태위험지도 범례 1~5등급 = 생활안전지도 WMS 그림 색 그대로 */ + --draw-map-landslide-grade-2: #ff0000; + --draw-map-landslide-grade-3: #ffc800; + --draw-map-landslide-grade-4: #b6ff8f; + --draw-map-landslide-grade-5: #33c3ff; --draw-map-fault: #f43f5e; /* 단층 */ --draw-map-lineament: #c4b5fd; /* 지질구조선(점선) */ --draw-map-zero-order: #7dd3fc; /* 0차곡(지형 추정 골짜기 머리 · 점선) */ @@ -590,10 +595,9 @@ html.is-bm-route .m01lab-src__body * { --draw-map-national-road-fire: #ff3b3b; /* 국유림 임도 산불 */ --draw-map-eco-national: #34d399; /* 경제림육성단지 국유(테두리) */ --draw-map-eco-private: #a78bfa; /* 경제림육성단지 사유(테두리) */ - --draw-map-ecology-1: #2e9e4f; /* 생태자연도 1등급(환경부 원도 색 — 범례만) */ - --draw-map-ecology-2: #b5d96b; /* 2등급 */ - --draw-map-ecology-3: #f2f2c2; /* 3등급 */ - --draw-map-ecology-x: #9b7bd4; /* 별도관리지역 */ + --draw-map-ecology-1: #1aa800; /* 생태자연도 1등급(환경부 WMS 그림 색 그대로 — 범례만 · 3등급 = 칠 없음) */ + --draw-map-ecology-2: #92d050; /* 2등급 */ + --draw-map-ecology-x: #ff8000; /* 별도관리지역 */ --draw-map-sketch: #ffe94d; /* 지도 위 그림(테마 안 따름 · 검은 테와 함께) — 긋기 미리보기 · 그리는 선 · 고름 강조 · 마커 */ --draw-map-measure: #ffffff; /* 거리재기 */ --draw-map-warn: #ff5a4d; /* 긋기 막힘(경고) */