mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +01:00
fix: geoJSON export - fix array level
This commit is contained in:
parent
bf41ad1b70
commit
19f7f2508e
3 changed files with 3 additions and 3 deletions
|
|
@ -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 => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue