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;