From 3f42f0c8c4cf2019241d4acceda208ddbe14aa68 Mon Sep 17 00:00:00 2001 From: Azgaar Date: Mon, 14 Dec 2020 19:44:43 +0300 Subject: [PATCH] v1.4.5 --- modules/save-and-load.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/save-and-load.js b/modules/save-and-load.js index da44cf26..86d7e6db 100644 --- a/modules/save-and-load.js +++ b/modules/save-and-load.js @@ -392,7 +392,7 @@ function saveGeoJSON_Markers() { function getCellCoordinates(vertices) { const p = pack.vertices.p; const coordinates = vertices.map(n => getQGIScoordinates(p[n][0], p[n][1])); - return coordinates.concat([coordinates[0]]); + return [coordinates.concat([coordinates[0]])]; } function getRoutePoints(node) {