From de8276851e576687d7677f51e75ddf0dd8dd65f9 Mon Sep 17 00:00:00 2001 From: swcho Date: Fri, 1 Aug 2025 19:14:19 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EC=B9=A8=EC=88=98=EC=8B=AC=20=EB=B2=94?= =?UTF-8?q?=EB=A1=80=20UI=20=EA=B5=AC=ED=98=84=20(=EA=B8=B0=EB=8A=A5=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80=20=EA=B5=AC=ED=98=84=20=ED=95=84=EC=9A=94)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/sn/app/(map-layout)/map/page.tsx | 4 ++ .../map/waterDepth/waterDepth.tsx | 62 ++++++++++++++++++ .../images/map/toolbar/pause_button.png | Bin 0 -> 479 bytes .../map/toolbar/play_button_arrowhead.png | Bin 0 -> 774 bytes 4 files changed, 66 insertions(+) create mode 100644 apps/sn/app/(map-layout)/map/waterDepth/waterDepth.tsx create mode 100644 apps/sn/public/images/map/toolbar/pause_button.png create mode 100644 apps/sn/public/images/map/toolbar/play_button_arrowhead.png 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 0000000000000000000000000000000000000000..05f51ac1362afeecb4c18fe3aa7329473b437289 GIT binary patch literal 479 zcmeAS@N?(olHy`uVBq!ia0vp^4j|0I3?%1nZ+ru!n2Vh}LpV4%Za?&Y0OWEOctjR6 zFbKPVFyo^4{!4*^k|nMYCBgY=CFO}lsSM@i<$9TU*~Q6;1*v-ZMd`EO*+>BukDAIPK+s40s-2((GLB*-tAfsvJqn^(!m%E8GaJRv==pkd;a=`&}|nY(TO$us9) ze)|07-=F2CZ9wJQJY5_^A`ZWuep0B(K!BB5Xo76Y@eR-Z|G%iU{mg>S_K?b1Oj(S&vID#08 z{??Z>mm8}XGt6Es$|7_w{D8Z{1umnK=^7IhCS~5YX^+U=o_pz@nnS$ms!M zKKRe{`pL#Vz1MFx^ZEb&lDg;ek?rBOk9R+||7H7b`TL*p+mhz~`thTNdGf92bIT59 Qz6S-Zr>mdKI;Vst0M|{ELjV8( literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..7948b16e587e5aaebaeb85f9a98ac9dabb04cf5f GIT binary patch literal 774 zcmeAS@N?(olHy`uVBq!ia0vp^4j|0I3?%1nZ+ru!n2Vh}LpV4%Za?&Y0OWEOctjR6 zFtBETFynX8=>gcyqV(DCY@~pS{sj1h zxc>kDAIKb;Aac>C(?FjGmjw9*GcYo-vaxe;a&hwsiHJ!^%gQTi>FOI8n_1a=c>4zg zheyYyq!$*KRMa%Ibo5V}Hf!FZWm|UaIdJgsk>jT>-MD@4!Q&@SU%q|+@zduo-@gC) z{pasL-!HN93=E92o-U3d5r>anKOV;9DB$+cETM0PvfGh{u4KLrNnxe$fA1fidR%$e z%bna=_V*Vp-@WRefD^~U+P8lm8b+RJnR2z3gW>9>46B6p_f_}b`F^a8@14IZKC_!G z?Put8Cko>olfZi^{=GfDNj&CZNdq1W|p3%=gRCu8;L#f7EG^ZDjk{rdGG_tAgx X7w4|026+{p0Hr`rS3j3^P6