From 4a1cb73c50d24cf8c09ddcd9a2ead1c1c730001a Mon Sep 17 00:00:00 2001 From: yschoi Date: Mon, 4 Aug 2025 10:29:37 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B9=8C=EB=93=9C=20=EC=98=A4=EB=A5=98=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/fo/app/pages/map/page.tsx | 2 +- apps/fo/app/pages/map/searchBar/searchBar.tsx | 1 - apps/wr/app/map/mainMap/page.tsx | 3 +-- apps/wr/app/map/popup/page.tsx | 1 + apps/wr/app/map/searchBar/SearchInputText.tsx | 2 -- apps/wr/app/map/searchBar/comboSearchBar.tsx | 1 - apps/wr/app/map/searchBar/procSearchBar.tsx | 1 - apps/wr/app/map/searchBar/searchBar.tsx | 5 ++--- 8 files changed, 5 insertions(+), 11 deletions(-) diff --git a/apps/fo/app/pages/map/page.tsx b/apps/fo/app/pages/map/page.tsx index d1dca94ae..a388d80ca 100644 --- a/apps/fo/app/pages/map/page.tsx +++ b/apps/fo/app/pages/map/page.tsx @@ -142,7 +142,7 @@ const Map = () => { isSearchModalOpen={isSearchModalOpen} onCheckedLayersChange={undefined} imgVisble={false} - searchBar={(props:any) => } + searchBar={() => } waterDepth={undefined} /> diff --git a/apps/fo/app/pages/map/searchBar/searchBar.tsx b/apps/fo/app/pages/map/searchBar/searchBar.tsx index e9084870a..0b1315465 100644 --- a/apps/fo/app/pages/map/searchBar/searchBar.tsx +++ b/apps/fo/app/pages/map/searchBar/searchBar.tsx @@ -2,7 +2,6 @@ import { SelectBox, type SelectDataType } from "@common/business_components/ui"; import { Button } from "@common/components/ui"; import { useCallback, useEffect, useState } from "react"; -import { GEOSERVER_URL } from "@/src/shared/config/env"; interface SearchBarProps { onFeatureSelect: (feature: any) => void; diff --git a/apps/wr/app/map/mainMap/page.tsx b/apps/wr/app/map/mainMap/page.tsx index 4a488201c..7b1d46c88 100644 --- a/apps/wr/app/map/mainMap/page.tsx +++ b/apps/wr/app/map/mainMap/page.tsx @@ -161,7 +161,7 @@ const Map = () => { isSearchModalOpen={isSearchModalOpen} onCheckedLayersChange={handleCheckedLayersChange} imgVisble={true} - searchBar={(props: any) => { + searchBar={() => { const facilityTypes = [ { text: "하수처리시설", val: "tb_il_swage_prcs_fclt" }, { text: "하수재이용시설", val: "tb_wr_bdst_ruse_fclt" }, @@ -174,7 +174,6 @@ const Map = () => { return ( ); diff --git a/apps/wr/app/map/popup/page.tsx b/apps/wr/app/map/popup/page.tsx index 6c1cc47d0..c7e091bb4 100644 --- a/apps/wr/app/map/popup/page.tsx +++ b/apps/wr/app/map/popup/page.tsx @@ -141,6 +141,7 @@ const Map = () => { onCheckedLayersChange={handleCheckedLayersChange} imgVisble={true} searchBar={undefined} + waterDepth={undefined} /> ); diff --git a/apps/wr/app/map/searchBar/SearchInputText.tsx b/apps/wr/app/map/searchBar/SearchInputText.tsx index 1df92fd16..caf4c9f2a 100644 --- a/apps/wr/app/map/searchBar/SearchInputText.tsx +++ b/apps/wr/app/map/searchBar/SearchInputText.tsx @@ -4,7 +4,6 @@ import { Input } from "@common/components/ui"; import { useEffect, useRef, useState } from "react"; interface SearchInputTextProps { - label?: string; initValue?: string; setValue: (val: string) => void; setRtnData: (val: { bscFctNm: string; bscFctCd: string }) => void; @@ -14,7 +13,6 @@ interface SearchInputTextProps { } export default function SearchInputText({ - label, initValue, setValue, setRtnData, diff --git a/apps/wr/app/map/searchBar/comboSearchBar.tsx b/apps/wr/app/map/searchBar/comboSearchBar.tsx index 7502daf94..15736d710 100644 --- a/apps/wr/app/map/searchBar/comboSearchBar.tsx +++ b/apps/wr/app/map/searchBar/comboSearchBar.tsx @@ -2,7 +2,6 @@ import { SelectBox, type SelectDataType } from "@common/business_components/ui"; import { Button } from "@common/components/ui"; import { useCallback, useEffect, useState } from "react"; -import { SERVER_API_WR_URL } from "@/src/shared/config"; const geoserverUrl = "/geoserver/hasudo/ows?service=WFS&version=1.0.0&request=GetFeature&outputFormat=application/json"; diff --git a/apps/wr/app/map/searchBar/procSearchBar.tsx b/apps/wr/app/map/searchBar/procSearchBar.tsx index 7502daf94..15736d710 100644 --- a/apps/wr/app/map/searchBar/procSearchBar.tsx +++ b/apps/wr/app/map/searchBar/procSearchBar.tsx @@ -2,7 +2,6 @@ import { SelectBox, type SelectDataType } from "@common/business_components/ui"; import { Button } from "@common/components/ui"; import { useCallback, useEffect, useState } from "react"; -import { SERVER_API_WR_URL } from "@/src/shared/config"; const geoserverUrl = "/geoserver/hasudo/ows?service=WFS&version=1.0.0&request=GetFeature&outputFormat=application/json"; diff --git a/apps/wr/app/map/searchBar/searchBar.tsx b/apps/wr/app/map/searchBar/searchBar.tsx index 7511169b4..7760ee0b8 100644 --- a/apps/wr/app/map/searchBar/searchBar.tsx +++ b/apps/wr/app/map/searchBar/searchBar.tsx @@ -24,13 +24,13 @@ const FACILITY_TYPE_URL_MAP: Record = { interface SearchBarProps { onFeatureSelect: (feature: any) => void; - gisMaps: React.RefObject; + // gisMaps: React.RefObject; facilityTypes: { text: string; val: string }[]; } export function SearchBar({ onFeatureSelect, - gisMaps, + // gisMaps, facilityTypes, }: SearchBarProps) { const [sidoValue, setSidoValue] = useState("0"); @@ -265,7 +265,6 @@ export function SearchBar({ value={sigunValue} /> { setFcltyNm(val);