remove: waterDepth.tsx에서 orderedLayers 삭제
This commit is contained in:
@@ -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}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user