From 4736c6b87b7a20d9effa4cd2b6eab389339c2b9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?junh=5Feee=28=EC=9D=B4=EC=A4=80=ED=9D=AC=29?= Date: Wed, 4 Oct 2023 16:18:08 +0900 Subject: [PATCH] =?UTF-8?q?laanc=20=EC=83=81=EC=84=B8=EB=A7=B5=20=EA=B2=BD?= =?UTF-8?q?=EA=B3=A0=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/laanc/LaancAreaMap.js | 125 ++++++++++++++++---------------- 1 file changed, 62 insertions(+), 63 deletions(-) diff --git a/src/views/laanc/LaancAreaMap.js b/src/views/laanc/LaancAreaMap.js index 275183b..5229e0a 100644 --- a/src/views/laanc/LaancAreaMap.js +++ b/src/views/laanc/LaancAreaMap.js @@ -347,8 +347,66 @@ export default function LaancAreaMap({ centeredModal, mapContainer }) { id='detail' ref={mapContainer} style={{ width: '100%', height: '70vh' }} - > - {isMapLoad && mapObject ? ( + > + {/* 지도 검색 */} +
+
+ + + + + + + + +
+
    + {searchRes?.length !== 0 && isSearch ? ( + searchRes?.map(search => { + const title = search.title + .replaceAll('', '') + .replaceAll('', ''); + + return ( +
  • + handlerSearchCoord(search.mapx, search.mapy) + } + > + +
    +
    + + {title} + +
    +
    + {search.roadAddress} +
    +
    +
    +
  • + ); + }) + ) : ( + <> + )} +
+
+
+
+ {isMapLoad && mapObject ? ( + <> - ) : null} - -
-
- - - - - - - - -
-
    - {searchRes?.length !== 0 && isSearch ? ( - searchRes?.map(search => { - const title = search.title - .replaceAll('', '') - .replaceAll('', ''); - - return ( -
  • - handlerSearchCoord(search.mapx, search.mapy) - } - > - -
    -
    - - {title} - -
    -
    - {search.roadAddress} -
    -
    -
    -
  • - ); - }) - ) : ( - <> - )} -
-
-
-
- - {isMapLoad && mapObject ? ( - + + ) : null}