"지도가 표시되었습니다" 메시지 제거
This commit is contained in:
@@ -955,7 +955,7 @@ export default function MapTestWidgetV2({ element }: MapTestWidgetV2Props) {
|
||||
<div>
|
||||
<h3 className="text-lg font-semibold">{element?.customTitle || "지도"}</h3>
|
||||
<p className="text-muted-foreground text-xs">
|
||||
{element?.dataSources?.length || 0}개 데이터 소스 연결됨
|
||||
{dataSources?.length || 0}개 데이터 소스 연결됨
|
||||
{lastRefreshTime && (
|
||||
<span className="ml-2">• 마지막 업데이트: {lastRefreshTime.toLocaleTimeString("ko-KR")}</span>
|
||||
)}
|
||||
@@ -1281,22 +1281,6 @@ export default function MapTestWidgetV2({ element }: MapTestWidgetV2Props) {
|
||||
);
|
||||
})}
|
||||
|
||||
{/* 데이터 소스 없을 때 안내 메시지 */}
|
||||
{(!element?.dataSources || element.dataSources.length === 0) && (
|
||||
<div
|
||||
className="pointer-events-none absolute left-1/2 top-1/2 z-[1000] -translate-x-1/2 -translate-y-1/2"
|
||||
style={{ zIndex: 1000 }}
|
||||
>
|
||||
<div className="rounded-lg border-2 border-dashed border-primary bg-background/95 p-4 shadow-lg backdrop-blur-sm">
|
||||
<p className="text-center text-sm font-medium">
|
||||
📍 지도가 표시되었습니다
|
||||
</p>
|
||||
<p className="text-muted-foreground mt-1 text-center text-xs">
|
||||
데이터 소스를 연결하면 마커가 표시됩니다
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
</MapContainer>
|
||||
)}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user