From a19425e721c9df674aae09493cfbab8b67697e02 Mon Sep 17 00:00:00 2001 From: umsangdon Date: Sat, 31 Oct 2026 20:01:57 +0900 Subject: [PATCH] =?UTF-8?q?feat(D03=20=EC=A7=80=EB=8F=84=20=EA=B2=B9):=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=E3=80=8C=EC=82=B0=EC=82=AC=ED=83=9C=20n=EB=93=B1?= =?UTF-8?q?=EA=B8=89=E3=80=8D=20=EC=9D=B4=EB=A6=84=20=EB=B6=99=EC=9E=84=20?= =?UTF-8?q?=C2=B7=20=EA=B2=80=EC=A6=9D=20=EC=B0=BD=EA=B5=AC=20layers().zoo?= =?UTF-8?q?m(GL=20=EC=A4=8C)=20=EB=8D=A7=20(PLAN=20622-2)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 --- D03_PlanAnalysis/D03_PlanAnalysis_UI_LayerDefs.ts | 2 +- D03_PlanAnalysis/D03_PlanAnalysis_UI_Layers.ts | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/D03_PlanAnalysis/D03_PlanAnalysis_UI_LayerDefs.ts b/D03_PlanAnalysis/D03_PlanAnalysis_UI_LayerDefs.ts index ccf4dce8b..b23ea6a82 100644 --- a/D03_PlanAnalysis/D03_PlanAnalysis_UI_LayerDefs.ts +++ b/D03_PlanAnalysis/D03_PlanAnalysis_UI_LayerDefs.ts @@ -166,7 +166,7 @@ export const ZONE_COLORS: Record = { }; /** 산사태위험지도 범례(1 등급 = 가장 위험 · 색 = WMS 그림 색). */ export const LANDSLIDE_LEGEND: LegendItem[] = [1, 2, 3, 4, 5].map((grade) => ({ - label: `${grade}등급`, + label: `산사태 ${grade}등급`, color: `var(--draw-map-landslide-grade-${grade})`, })); /** 선 겹 — 이름 · 그림 꼴(서버 `LINE_KINDS` 열쇠 = `kind` · 없으면 0차곡). 새 선 겹 = 여기 한 줄. */ diff --git a/D03_PlanAnalysis/D03_PlanAnalysis_UI_Layers.ts b/D03_PlanAnalysis/D03_PlanAnalysis_UI_Layers.ts index 825bee8a0..26718c2fa 100644 --- a/D03_PlanAnalysis/D03_PlanAnalysis_UI_Layers.ts +++ b/D03_PlanAnalysis/D03_PlanAnalysis_UI_Layers.ts @@ -121,6 +121,8 @@ export interface PlanLayers { counts: Record; /** GL 겹마다 화면에 그린 지물 수(보임만 · GL 끔 = 빈 것). */ gl: Record; + /** GL 줌(GL 끔 = null · 622-2 검증). */ + zoom: number | null; /** 겹이 받은 범위(마지막 `load` 값) · 차례 번호(475 검증). */ area: [number, number, number, number] | null; turn: number; @@ -672,6 +674,7 @@ export function createPlanLayers(opts: { : gl.map()!.queryRenderedFeatures({ layers: [layer.id] }).length, ]), ), + zoom: gl.map()?.getZoom() ?? null, area, turn: areaTurn, tiles: tiles.state(),