From 164428e953e207e3498fb0117a02b6cf5ead445d Mon Sep 17 00:00:00 2001 From: leedj312 Date: Thu, 7 Aug 2025 10:04:35 +0900 Subject: [PATCH] =?UTF-8?q?=ED=8C=8C=EC=9D=BC=20=EC=9E=AC=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../wr/app/(with-layout)/map/mainMap/page.tsx | 2 +- "apps/wr/components/lib/func/\bmapUtil.ts" | 21 ------------------- 2 files changed, 1 insertion(+), 22 deletions(-) delete mode 100644 "apps/wr/components/lib/func/\bmapUtil.ts" diff --git a/apps/wr/app/(with-layout)/map/mainMap/page.tsx b/apps/wr/app/(with-layout)/map/mainMap/page.tsx index fea40f812..68eb02d14 100644 --- a/apps/wr/app/(with-layout)/map/mainMap/page.tsx +++ b/apps/wr/app/(with-layout)/map/mainMap/page.tsx @@ -6,7 +6,7 @@ import { mapService } from "../service"; import GisApp from "@common/business_components/ui/map/lib/gis.core"; import { SearchBar } from "@common/business_components/ui/map/searchBar/searchBar"; import { useWrStore } from "@/app/store"; -import { getFeatureCd } from "@/components/lib/func/\bmapUtil"; +import { getFeatureCd } from "@/components/lib/func/\mapUtil"; const Map = () => { const { comMap } = useWrStore((state) => state); diff --git "a/apps/wr/components/lib/func/\bmapUtil.ts" "b/apps/wr/components/lib/func/\bmapUtil.ts" deleted file mode 100644 index f3925c413..000000000 --- "a/apps/wr/components/lib/func/\bmapUtil.ts" +++ /dev/null @@ -1,21 +0,0 @@ - - - - export const getFeatureCd = (featurePropertise:any, layerNm:string) => { - console.log('layerNm ', layerNm ) - console.log('featurePropertise ', featurePropertise ) - - const featureCd = - layerNm === "하수재이용시설" - ? featurePropertise?.swtrmt_fclt_cd - : ["빗물이용시설", "중수도시설", "온배수시설", "수요처" ,'잠재수요처'].includes( - layerNm - ) - ? featurePropertise?.bdst_nm - : layerNm === "하수처리시설" - ? featurePropertise?.swtrmt_fclt_nm - : null; - - console.log('featureCd ', featureCd) - return featureCd; - }; \ No newline at end of file