From cb153f1c4a7405f00205e82cf1ee909947413167 Mon Sep 17 00:00:00 2001 From: swcho Date: Tue, 5 Aug 2025 17:29:01 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20-=20=EC=B9=A8=EC=88=98=EC=8B=AC=20?= =?UTF-8?q?=EB=B2=94=EB=A1=80=20interval=201=EC=B4=88=20->=202.5=EC=B4=88?= =?UTF-8?q?=20=EC=88=98=EC=A0=95=20(=EB=8F=84=EC=8B=9C=EC=B9=A8=EC=88=98?= =?UTF-8?q?=EC=A7=80=EB=8F=84=20=ED=91=9C=EC=B6=9C=20=EB=95=8C=EB=AC=B8)?= =?UTF-8?q?=20-=20page.tsx=20=ED=83=80=EC=9E=85=20=EB=8B=A8=EC=96=B8=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/sn/app/(map-layout)/map/page.tsx | 8 ++++---- apps/sn/app/(map-layout)/map/waterDepth/waterDepth.tsx | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/sn/app/(map-layout)/map/page.tsx b/apps/sn/app/(map-layout)/map/page.tsx index fe4ff9665..3728332f0 100644 --- a/apps/sn/app/(map-layout)/map/page.tsx +++ b/apps/sn/app/(map-layout)/map/page.tsx @@ -156,10 +156,10 @@ const Map = () => { searchBar={SearchBar} waterDepth={showWaterDepth ? WaterDepth : undefined} isPlaying={isPlaying} - setIsPlaying={setIsPlaying} - targetLayerTypes={WATER_DEPTH_LAYER_TYPES} - orderedLayers={ORDERED_LAYERS} - checkInterval={1000} + 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 652ac81fd..91ec47009 100644 --- a/apps/sn/app/(map-layout)/map/waterDepth/waterDepth.tsx +++ b/apps/sn/app/(map-layout)/map/waterDepth/waterDepth.tsx @@ -3,12 +3,12 @@ import React, { useRef, useEffect, useState } from "react"; import { Label } from "@common/components/ui/label"; -export const WATER_DEPTH_LAYER_TYPES = [ +export const WATER_DEPTH_LAYER_TYPES: string[] = [ 'tb_ms_flood_dngr_map', 'tb_ms_sbmrg_dngr_map' ]; // 지정된 순서에 따른 lyr_sn 배열 -export const ORDERED_LAYERS = [ +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년 빈도