지도 스타일 수정

This commit is contained in:
yschoi
2025-07-26 15:36:02 +09:00
parent 44103a8dc4
commit b28edb5a83
2 changed files with 1 additions and 7 deletions
@@ -1,6 +1,5 @@
import { Search } from 'lucide-react';
import OlMap from 'ol/Map';
import Overlay from 'ol/Overlay';
import View from 'ol/View';
import { defaults as defaultControls, OverviewMap } from 'ol/control';
import { defaults } from 'ol/interaction';
@@ -14,7 +13,6 @@ import GisToolBar from './GisToolBar';
import GisTree from './GisTree';
import './lib/css/gis.common.css';
import GisApp from './lib/gis.core';
// import FacilityInfoPopup from './FacilityInfoPopup';
export const GisContext = createContext({ gisCore: null, gisMap: null, treeData: null, checkedLayerIds: null });
export const useGisContext = () => useContext(GisContext);
@@ -193,7 +191,6 @@ function Gis({
gisMaps.current = map
// 미니맵 추가
/*
if (isMiniMap) {
const overviewMap = new OverviewMap({
layers: [GisApp.Module.core.baseMiniMapLayers['base']],
@@ -207,7 +204,6 @@ function Gis({
});
map.addControl(overviewMap);
}
*/
// 스케일 컨트롤 및 베이스 레이어 설정
gisCore.__proto__.map = map;
@@ -288,8 +284,6 @@ function Gis({
imageVisible={imgVisble}
/>
{/* <GisContent onFeatureSelect={handleFeatureSelect} isSearch={isSearch} isSearchModalOpen={isSearchModalOpen} setIsSearchModalOpen={setIsSearchModalOpen} /> */}
{/* DetailView가 존재할 때만 렌더링 isSearchModalOpen이 true면 visible=false로 팝업 숨김 */}
{isOpen && !isSearchModalOpen && (
<DetailView
@@ -978,7 +978,7 @@ table.board-table tbody th td {
position: absolute;
z-index: 1;
right: 0px;
bottom: 0px;
bottom: 30px;
}
.ol-overviewmap .ol-overviewmap-map {
border: 1px solid #7b98bc;