diff --git a/apps/sn/app/(map-layout)/map/page.tsx b/apps/sn/app/(map-layout)/map/page.tsx index d80b3d851..5ff30009c 100644 --- a/apps/sn/app/(map-layout)/map/page.tsx +++ b/apps/sn/app/(map-layout)/map/page.tsx @@ -7,6 +7,7 @@ import GisApp from "@common/business_components/ui/map/lib/gis.core"; import SearchModal from "./searchModal/searchModal"; import FeatureClickEventPopup from "./components/popupComponent/featureClickEventPopup"; import { SearchBar } from "./searchBar/searchBar"; +import { WaterDepth } from "./waterDepth/waterDepth"; // 타입 정의 추가 export type LyrStngProps = { @@ -116,6 +117,8 @@ const Map = () => { setIsOpen(true); setIsSearchModalOpen(false); }; + + return (
{ isSearchModalOpen={isSearchModalOpen} onCheckedLayersChange={undefined} searchBar={SearchBar} + waterDepth={WaterDepth} />
); diff --git a/apps/sn/app/(map-layout)/map/waterDepth/waterDepth.tsx b/apps/sn/app/(map-layout)/map/waterDepth/waterDepth.tsx new file mode 100644 index 000000000..39e375a4b --- /dev/null +++ b/apps/sn/app/(map-layout)/map/waterDepth/waterDepth.tsx @@ -0,0 +1,62 @@ +"use client"; + +import React, { useRef, useEffect, useState } from "react"; +import { Label } from "@common/components/ui/label"; + +export function WaterDepth({ onClose }: { onClose?: () => void }) { + const [isPlaying, setIsPlaying] = useState(false); + + return ( + <> +
+
+ + +
+
+
+
침 수 심
+
+ + + + + + +
+
+
+
+ + ); +} + +function LegendItem({ color, label }: { color: string; label: string }) { + return ( +
+ + {label} +
+ ); +} \ No newline at end of file diff --git a/apps/sn/public/images/map/toolbar/pause_button.png b/apps/sn/public/images/map/toolbar/pause_button.png new file mode 100644 index 000000000..05f51ac13 Binary files /dev/null and b/apps/sn/public/images/map/toolbar/pause_button.png differ diff --git a/apps/sn/public/images/map/toolbar/play_button_arrowhead.png b/apps/sn/public/images/map/toolbar/play_button_arrowhead.png new file mode 100644 index 000000000..7948b16e5 Binary files /dev/null and b/apps/sn/public/images/map/toolbar/play_button_arrowhead.png differ