fix: geoJSON export - fix array level

This commit is contained in:
Azgaar 2024-08-27 14:04:02 +02:00
parent bf41ad1b70
commit 19f7f2508e
3 changed files with 3 additions and 3 deletions

View file

@ -456,7 +456,7 @@ function saveGeoJsonCells() {
const [x, y] = vertices.p[vertex];
return getCoordinates(x, y, 4);
});
return [...coordinates, coordinates[0]];
return [[...coordinates, coordinates[0]]];
}
cells.i.forEach(i => {