From b0861e5182347d5c4517c81dec122955ff91a791 Mon Sep 17 00:00:00 2001 From: JIeunhuh Date: Tue, 8 Jul 2025 09:30:57 +0900 Subject: [PATCH] =?UTF-8?q?=EC=A7=80=EB=8F=84=ED=8C=9D=EC=97=85=20?= =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/wr/.env.local | 4 ++-- apps/wr/app/map/newWindowPopup.tsx | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/apps/wr/.env.local b/apps/wr/.env.local index 125bcc824..18cb6fe85 100644 --- a/apps/wr/.env.local +++ b/apps/wr/.env.local @@ -9,6 +9,6 @@ NEXT_PUBLIC_AUTH_USER_ID = token-id NEXT_PUBLIC_ACCESS_TOKEN = access-token NEXT_PUBLIC_REFRESH_TOKEN = refresh-token -#NEXT_PUBLIC_SEWERAGE_API_URL=http://con.mind-one.co.kr:11083/sewerage-service/api # 개발 서버 API -NEXT_PUBLIC_SEWERAGE_API_URL=http://192.168.1.128:8883/sewerage-service/api # 최용성 +NEXT_PUBLIC_SEWERAGE_API_URL=http://con.mind-one.co.kr:11083/sewerage-service/api # 개발 서버 API +# NEXT_PUBLIC_SEWERAGE_API_URL=http://192.168.1.128:8883/sewerage-service/api # 최용성 #NEXT_PUBLIC_SEWERAGE_API_URL=http://192.168.1.66:8883/sewerage-service/api # 박이정 diff --git a/apps/wr/app/map/newWindowPopup.tsx b/apps/wr/app/map/newWindowPopup.tsx index c6ca97042..1fbd0df33 100644 --- a/apps/wr/app/map/newWindowPopup.tsx +++ b/apps/wr/app/map/newWindowPopup.tsx @@ -133,6 +133,7 @@ const NewWindowPopup: React.FC = ({ setFcltPk(featureCd); // 현재 호출된 featureCd 저장 setActiveTab(featureCd) fetchpbnstDetail(featureCd); // 상세정보 + setViewMode("detail") } else if (layerId == '빗물이용시설') { featureCd = selectedVal?.bdst_nm; @@ -184,8 +185,9 @@ const NewWindowPopup: React.FC = ({ const source = layer.getSource(); if (source && source.hasFeature && featureData && typeof featureData.getId === 'function' && source.hasFeature(featureData)) { - featureLayer = layer; // 피처가 속한 레이어 찾기 + featureLayer = layer; // 피처가 속한 레이어 찾기) } + console.log('layernm',layer.get('lyrNm')) }); result = featureLayer.get('lyrNm'); @@ -234,6 +236,7 @@ const NewWindowPopup: React.FC = ({ // 재이용시설 페이징처리 관련 함수 const onPageChangeHandler = useCallback((page: number) => { pbnstSttnSearch( + true, String(page), String(13), {