diff --git a/css/app.css b/css/app.css
index 650ea11..de129d4 100644
--- a/css/app.css
+++ b/css/app.css
@@ -133,4 +133,11 @@ a:visited {
/* Leaflef map container */
#map {
height: calc(100vh - 107px);
+}
+
+#map-progress {
+ position: absolute;
+ top: 30vh;
+ max-width: 600px;
+ left: 35vw;
}
\ No newline at end of file
diff --git a/index.html b/index.html
index f223ced..6ad9b5a 100644
--- a/index.html
+++ b/index.html
@@ -80,7 +80,9 @@
diff --git a/js/index.js b/js/index.js
index 94b1122..da3db0e 100644
--- a/js/index.js
+++ b/js/index.js
@@ -2,13 +2,16 @@ import GIS from './gis.js';
import UI from './ui.js';
document.addEventListener('DOMContentLoaded', async () => {
+ let progress = document.querySelector('progress');
const init = await GIS.initMap('map');
+ progress.classList.add('is-hidden');
let {map, sites} = init;
+ map._container.setAttribute('aria-busy', false);
+
UI.addCenterMapControl(map, GIS.CENTER_COORDS, GIS.INIT_ZOOM);
UI.toggleMenu('siti');
UI.toggleBurger('navbar-burger');
UI.sitesMenu('.menu-list', map, sites);
UI.projectInfo('#project-info');
-
});