팝업 꼬리 제거

This commit is contained in:
dohyeons 2025-11-17 12:12:02 +09:00
parent 3e9c566834
commit 251c4e3a66
1 changed files with 14 additions and 0 deletions

View File

@ -10,6 +10,20 @@ import { applyColumnMapping } from "@/lib/utils/columnMapping";
import { getApiUrl } from "@/lib/utils/apiUrl";
import "leaflet/dist/leaflet.css";
// Popup 말풍선 꼬리 제거 스타일
if (typeof document !== "undefined") {
const style = document.createElement("style");
style.textContent = `
.leaflet-popup-tip-container {
display: none !important;
}
.leaflet-popup-content-wrapper {
border-radius: 8px !important;
}
`;
document.head.appendChild(style);
}
// Leaflet 아이콘 경로 설정 (엑박 방지)
if (typeof window !== "undefined") {
import("leaflet").then((L) => {