feat: implement responsive UI layouts and collapsible control panels across application pages

This commit is contained in:
z0rayy
2026-06-11 05:28:31 +07:00
parent b027f02cf0
commit 4e73e17656
7 changed files with 435 additions and 83 deletions
+2
View File
@@ -894,6 +894,7 @@ function initMap() {
L.control.layers(baseMaps).addTo(map);
// Initialize Geoman Controls (only if Geoman library is loaded)
/*
if (map.pm && typeof map.pm.addControls === 'function') {
map.pm.addControls({
position: 'topleft',
@@ -906,6 +907,7 @@ function initMap() {
removalMode: false
});
}
*/
// ALWAYS set mapInstance — regardless of whether Geoman loaded
window.appState.mapInstance = map;