From f73b31ce572fecc34d9de9958cfcb3b6367b2d8c Mon Sep 17 00:00:00 2001 From: thkim Date: Fri, 28 Feb 2025 17:54:12 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=9C=A0=ED=86=B5=20=EC=A1=B0=ED=9A=8C?= =?UTF-8?q?=EC=97=90=EC=84=9C=20=EC=8B=9C=EC=B6=94=EA=B3=B5=20=EC=84=A0?= =?UTF-8?q?=ED=83=9D=20=EC=97=86=EC=9D=B4=20'=EA=B0=9C=EB=B3=84=EC=A0=95?= =?UTF-8?q?=EB=B3=B4=20=EB=B3=B4=EA=B8=B0'=20=EB=88=84=EB=A5=B4=EB=A9=B4?= =?UTF-8?q?=20=EC=95=84=EB=AC=B4=EB=9F=B0=20=EB=B0=98=EC=9D=91=EC=9D=B4=20?= =?UTF-8?q?=EC=97=86=EB=8A=94=20=ED=98=84=EC=83=81=20=EA=B0=9C=EC=84=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- list.txt | 4 +--- src/main/webapp/js/map/main/map.js | 4 ++++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/list.txt b/list.txt index 904d104f..f8b2bfb2 100644 --- a/list.txt +++ b/list.txt @@ -4,6 +4,4 @@ #src\main\java\geoinfo\regi\manageList\ManageExcelUploadProc01Controller.java #src\main\webapp\WEB-INF\views\web\input\excel_step00.jsp #src\main\webapp\WEB-INF\views\web\input\excel_step31.jsp -src\main\webapp\WEB-INF\views\map\index.jsp -src\main\webapp\WEB-INF\views\map\projectSearch\projectSearch.jsp -src\main\webapp\js\map\main\main.js \ No newline at end of file +src\main\webapp\js\map\main\map.js \ No newline at end of file diff --git a/src/main/webapp/js/map/main/map.js b/src/main/webapp/js/map/main/map.js index 4b6d5bd4..09d3ebf9 100644 --- a/src/main/webapp/js/map/main/map.js +++ b/src/main/webapp/js/map/main/map.js @@ -3491,6 +3491,10 @@ function showSichuInfo2(){ if(selectSichSize == 1){ selectOneSich(HOLE_SELECT.features[0].attributes.CODE); }else{ + if( HOLE_SELECT.features.length === 0 ) { + alert("정보를 확인할 시추공 한 개를 선택하세요."); + return false; + } var selectSichHoleCode = HOLE_SELECT.features[0].attributes.CODE; var selectSichHoleCode2 = ""; for(var i=0; i