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}