diff --git a/.gitignore b/.gitignore index f849f48..7672626 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ vendor/ docs/ progetto_QGIS/ conf.json +shapefile diff --git a/js/gis.js b/js/gis.js index a48838d..c79dd6f 100644 --- a/js/gis.js +++ b/js/gis.js @@ -117,7 +117,7 @@ GIS.initMap = async function (mapId, zoomLevel = this.INIT_ZOOM) { for (let id in MARKER_NAMES.sites) { let layer = sitesGroup.customGetLayer(id); - const coords = layer.getBounds().getCenter(); + let coords = layer.getBounds().getCenter(); const fromStorage = localStorage.getItem(id); let data = {};