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);