This commit is contained in:
2025-09-09 00:10:53 +03:00
parent 38f2a05107
commit 204fc092d7
239 changed files with 22447 additions and 9536 deletions

View File

@@ -0,0 +1,9 @@
function setLeafletCursor(cursor) {
let styleTag = document.getElementById('leaflet-cursor-style');
if (!styleTag) {
styleTag = document.createElement('style');
styleTag.id = 'leaflet-cursor-style';
document.head.appendChild(styleTag);
}
styleTag.innerHTML = `.leaflet-interactive { cursor: ${cursor} !important; }`;
}