팝업 꼬리 제거
This commit is contained in:
parent
3e9c566834
commit
251c4e3a66
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue