From e1537dde96df64ccd6a35beac810293816be0753 Mon Sep 17 00:00:00 2001 From: umsangdon Date: Sat, 31 Oct 2026 19:31:44 +0900 Subject: [PATCH] =?UTF-8?q?fix(D03=20=EC=A7=80=EB=8F=84=20=EA=B2=B9):=20?= =?UTF-8?q?=EC=83=9D=ED=83=9C=EC=9E=90=EC=97=B0=EB=8F=84=20=C2=B7=20?= =?UTF-8?q?=EC=82=B0=EC=82=AC=ED=83=9C=EC=9C=84=ED=97=98=20=EB=B2=94?= =?UTF-8?q?=EB=A1=80=20=EC=83=89=20=3D=20=EC=A1=B0=EA=B0=81=20=EA=B7=B8?= =?UTF-8?q?=EB=A6=BC=20=EC=83=89=20=EA=B7=B8=EB=8C=80=EB=A1=9C=20=E2=80=94?= =?UTF-8?q?=20=EC=83=9D=ED=83=9C=EC=9E=90=EC=97=B0=EB=8F=84=201=20=C2=B7?= =?UTF-8?q?=202=EB=93=B1=EA=B8=89=20=C2=B7=20=EB=B3=84=EB=8F=84=EA=B4=80?= =?UTF-8?q?=EB=A6=AC(3=EB=93=B1=EA=B8=89=20=EC=B9=A0=20=EC=97=86=EC=9D=8C)?= =?UTF-8?q?=20=C2=B7=20=EC=82=B0=EC=82=AC=ED=83=9C=20=EB=B2=94=EB=A1=80=20?= =?UTF-8?q?=EC=A0=84=EC=9A=A9=20=ED=86=A0=ED=81=B0=20landslide-grade-1~5?= =?UTF-8?q?=20(PLAN=20622-2)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 산사태 옛 토큰 landslide-1~5 = 급경사 범위 색이 함께 써서 그대로 둠 Co-Authored-By: Claude Opus 5.5 --- D03_PlanAnalysis/D03_PlanAnalysis_UI_ForestLayers.ts | 5 ++--- D03_PlanAnalysis/D03_PlanAnalysis_UI_LayerDefs.ts | 4 ++-- ui_template/ui_template_theme.css | 12 ++++++++---- 3 files changed, 12 insertions(+), 9 deletions(-) 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; /* 긋기 막힘(경고) */