Stub for dynamic menu (WIP)

This commit is contained in:
2025-06-03 11:42:06 +02:00
parent 5b5d0aeb3d
commit 41dca4f563
4 changed files with 34 additions and 2 deletions

View File

@@ -18,6 +18,10 @@ document.addEventListener('DOMContentLoaded', async () => {
map._container.setAttribute('aria-busy', false);
// Trigger Stimulus buildMenu method...
const menuEvent = new Event('menu-ready');
document.dispatchEvent(menuEvent);
GIS.toggleSpherical(map);
UI.addCenterMapControl(map, GIS.CENTER_COORDS, GIS.INIT_ZOOM);