feat: implement responsive UI layouts and collapsible control panels across application pages
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user