From 39bd9c3351d7d254ecb8cbef05c8051525c15374 Mon Sep 17 00:00:00 2001 From: leeheejin Date: Tue, 28 Oct 2025 09:49:26 +0900 Subject: [PATCH] =?UTF-8?q?=EB=A9=94=EC=9D=B8=EC=9D=B4=EB=9E=91=20?= =?UTF-8?q?=EB=A8=B8=EC=A7=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/components/dashboard/widgets/MapTestWidgetV2.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/frontend/components/dashboard/widgets/MapTestWidgetV2.tsx b/frontend/components/dashboard/widgets/MapTestWidgetV2.tsx index 500f379f..e684f9e1 100644 --- a/frontend/components/dashboard/widgets/MapTestWidgetV2.tsx +++ b/frontend/components/dashboard/widgets/MapTestWidgetV2.tsx @@ -776,6 +776,12 @@ export default function MapTestWidgetV2({ element }: MapTestWidgetV2Props) { const ctpName = feature?.properties?.CTP_KOR_NM; // 시/도명 (예: 경상북도) const sigName = feature?.properties?.SIG_KOR_NM; // 시/군/구명 (예: 군위군) + // 🔍 디버그: GeoJSON 속성 확인 + if (ctpName === "경상북도" || sigName?.includes("군위") || sigName?.includes("영천")) { + console.log(`🔍 GeoJSON 속성:`, { ctpName, sigName, properties: feature?.properties }); + console.log(`🔍 매칭 시도할 폴리곤:`, polygons.map(p => p.name)); + } + // 폴리곤 매칭 (시/군/구명 우선, 없으면 시/도명) const matchingPolygon = polygons.find(p => { if (!p.name) return false;