diff --git a/package-lock.json b/package-lock.json index 099c5d5b2bec9758336b36fa2329688ebb873572..5b6cd785414976cd20d18dfb3139c6f4955f9116 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14383,9 +14383,9 @@ } }, "leaflet": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/leaflet/-/leaflet-1.2.0.tgz", - "integrity": "sha512-Bold8phAE6WcRsuwhofrQ7cOK1REFHaYIkKuj7+TBYK3ONKRpGGIb5oXR5akYotFnrWN0TWKh6Svlhflm3dogg==" + "version": "1.7.1", + "resolved": "https://registry.npmjs.org/leaflet/-/leaflet-1.7.1.tgz", + "integrity": "sha512-/xwPEBidtg69Q3HlqPdU3DnrXQOvQU/CCHA1tcDQVzOwm91YMYaILjNp7L4Eaw5Z4sOYdbBz6koWyibppd8Zqw==" }, "leaflet-area-select": { "version": "1.0.5", diff --git a/package.json b/package.json index d94f410bbdc885449bbd4efb725d7285c8366abf..68f0b3623ad19079164953497dc30a1d33496627 100644 --- a/package.json +++ b/package.json @@ -82,7 +82,7 @@ "intl": "1.2.5", "ionicons": "2.0.1", "iso8601-js-period": "^0.2.1", - "leaflet": "^1.2.0", + "leaflet": "^1.7.1", "leaflet-area-select": "^1.0.5", "leaflet-draw": "^1.0.4", "leaflet-timedimension": "^1.1.1", diff --git a/src/app/pages/simulation-wizard/results-map/results-map.component.ts b/src/app/pages/simulation-wizard/results-map/results-map.component.ts index 8f15832c52c4d9e8a5584f00fd53f66f6b50c81b..2f27996cec3b3d39e6445aa33b72dd3f8e1fcc1a 100644 --- a/src/app/pages/simulation-wizard/results-map/results-map.component.ts +++ b/src/app/pages/simulation-wizard/results-map/results-map.component.ts @@ -82,6 +82,7 @@ export class ResultsMapComponent { this.toastrService.show("", "Geojson Loaded", { status: "success", }); + const keys = this.extractKeys(res); const propertyGeojsons = this.populatePropertyGeojsons(res, keys); let obj = {};