Fix invalid coords assignment

This commit is contained in:
2024-11-15 10:49:00 +01:00
parent c83dff30dc
commit 3bf88b98d9
2 changed files with 2 additions and 1 deletions

View File

@@ -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 = {};