diff --git a/frontend/src/components/common/map/BaseMap.tsx b/frontend/src/components/common/map/BaseMap.tsx index 62c7705..a18e126 100644 --- a/frontend/src/components/common/map/BaseMap.tsx +++ b/frontend/src/components/common/map/BaseMap.tsx @@ -139,8 +139,8 @@ function MapOverlayControls({ return ( <> - {/* 우측 컨트롤 컬럼 */} -
+ {/* 좌측 컨트롤 컬럼 */} +
{/* 줌 */} + } {/* 오염물 배출 규정 패널 */} - {dischargeMode && dischargeInfo && ( + {isOverlayMode && dischargeMode && dischargeInfo && ( 사고 {filteredIncidents.length}
방제선 {vesselStatus?.bangjeCount ?? 0}
- + } {/* Legend */} -
))}
- + } {/* 선박 팝업 패널 */} - {vesselPopup && selectedVessel && !detailVessel && ( + {isOverlayMode && vesselPopup && selectedVessel && !detailVessel && ( { @@ -1015,7 +1017,7 @@ export function IncidentsView() { }} /> )} - {detailVessel && ( + {isOverlayMode && detailVessel && ( setDetailVessel(null)} /> )} diff --git a/frontend/src/components/weather/components/WeatherView.tsx b/frontend/src/components/weather/components/WeatherView.tsx index b041c46..7bb3add 100644 --- a/frontend/src/components/weather/components/WeatherView.tsx +++ b/frontend/src/components/weather/components/WeatherView.tsx @@ -324,7 +324,7 @@ export function WeatherView() { {/* 레이어 컨트롤 */} -
+
기상 레이어
{/* 범례 */} -
+
기상 범례
{/* 바람 */}