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) {