From 59bd8eddfb0f3c834dd4b60c9d79d22bf940256c Mon Sep 17 00:00:00 2001 From: swcho Date: Tue, 2 Sep 2025 10:57:59 +0900 Subject: [PATCH] =?UTF-8?q?remove:=20waterDepth.tsx=EC=97=90=EC=84=9C=20or?= =?UTF-8?q?deredLayers=20=EC=82=AD=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/sn/app/(map-layout)/map/page.tsx | 3 +-- apps/sn/app/(map-layout)/map/waterDepth/waterDepth.tsx | 10 ---------- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/apps/sn/app/(map-layout)/map/page.tsx b/apps/sn/app/(map-layout)/map/page.tsx index 6e6997267..e1bbc45ad 100644 --- a/apps/sn/app/(map-layout)/map/page.tsx +++ b/apps/sn/app/(map-layout)/map/page.tsx @@ -6,7 +6,7 @@ import { useCallback, useEffect, useRef, useState } from "react"; import GisApp from "@common/business_components/ui/map/lib/gis.core"; import SearchModal from "./searchModal/searchModal"; import FeatureClickEventPopup from "./components/popupComponent/featureClickEventPopup"; -import { WaterDepth, WATER_DEPTH_LAYER_TYPES, ORDERED_LAYERS } from "./waterDepth/waterDepth"; +import { WaterDepth, WATER_DEPTH_LAYER_TYPES } from "./waterDepth/waterDepth"; import { ProcSearchBar } from "@common/business_components/ui/map/searchBar"; // 타입 정의 추가 @@ -160,7 +160,6 @@ const Map = () => { isPlaying={isPlaying} setIsPlaying={setIsPlaying as any} targetLayerTypes={WATER_DEPTH_LAYER_TYPES as any} - orderedLayers={ORDERED_LAYERS as any} checkInterval={2500} /> diff --git a/apps/sn/app/(map-layout)/map/waterDepth/waterDepth.tsx b/apps/sn/app/(map-layout)/map/waterDepth/waterDepth.tsx index 78849bda2..a1434d895 100644 --- a/apps/sn/app/(map-layout)/map/waterDepth/waterDepth.tsx +++ b/apps/sn/app/(map-layout)/map/waterDepth/waterDepth.tsx @@ -7,16 +7,6 @@ export const WATER_DEPTH_LAYER_TYPES: string[] = [ 'tb_ms_flood_dngr_map', 'tb_ms_sbmrg_dngr_map' ]; -// 지정된 순서에 따른 lyr_sn 배열 -export const ORDERED_LAYERS: string[] = [ - '27', // 침수위험지도(tb_ms_sbmrg_dngr_map) - 30년 빈도 - '28', // 침수위험지도(tb_ms_sbmrg_dngr_map) - 50년 빈도 - '3', // 침수위험지도(tb_ms_sbmrg_dngr_map) - 80년 빈도 - '4', // 침수위험지도(tb_ms_sbmrg_dngr_map) - 100년 빈도 - '59', // 도시침수지도(tb_ms_flood_dngr_map) - 30년 빈도 - '60', // 도시침수지도(tb_ms_flood_dngr_map) - 50년 빈도 - '58' // 도시침수지도(tb_ms_flood_dngr_map) - 80년 빈도 -]; interface WaterDepthProps { onClose?: () => void;