From bf94843c6c5e0d914e9f3196711d5dac8d78d624 Mon Sep 17 00:00:00 2001 From: jshjelse <jshjelse@stud.ntnu.no> Date: Tue, 24 Oct 2023 11:45:39 +0200 Subject: [PATCH] Fix --- javascript/turfFormatConverter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript/turfFormatConverter.js b/javascript/turfFormatConverter.js index 422f734..8d04c5e 100644 --- a/javascript/turfFormatConverter.js +++ b/javascript/turfFormatConverter.js @@ -71,7 +71,7 @@ function fixMultiPolygons(layer) { // Annen variant som løser MultiPolygon-prob newFeature[key] = features[i][key]; } } - newFeatures["geometry"] = { + newFeature["geometry"] = { "type": "Polygon", "coordinates": coord[j] }; -- GitLab