retour à l'index en cliquant sur la carte depuis une étape

This commit is contained in:
2025-03-03 22:42:55 +01:00
parent 6ecf055060
commit dffd179bc9
6 changed files with 34 additions and 42 deletions

View File

@@ -4,6 +4,7 @@ export function processClickableElements() {
generalListLinks: processStaticLinks(),
logoLink: processLogoLink(),
mapIcons: processMapIcons(),
mapContainer: processMapContainer(),
};
}
@@ -64,3 +65,11 @@ function processMapIcons() {
return icons;
}
function processMapContainer() {
let mapContainer = document.querySelector('.leaflet-layer');
mapContainer.style.height = "100vh";
mapContainer.style.width = "100vw";
mapContainer.dataset.href = "/";
return mapContainer;
}