import GIS from './caprigis.js'; import UI from './ui.js'; document.addEventListener('DOMContentLoaded', async () => { const init = await GIS.initMap('map'); const centerCoords = init.sites.getBounds().getCenter(); UI.addSitesControl(init.map, centerCoords, 'Grotta di Matermania'); });