mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-22 20:11:24 +01:00
markers - export as geoJSON
This commit is contained in:
parent
6d6dc22a75
commit
750f773cfb
4 changed files with 89 additions and 20 deletions
|
|
@ -343,7 +343,7 @@ function parseLoadedData(data) {
|
|||
pack.religions = data[29] ? JSON.parse(data[29]) : [{i: 0, name: 'No religion'}];
|
||||
pack.provinces = data[30] ? JSON.parse(data[30]) : [0];
|
||||
pack.rivers = data[32] ? JSON.parse(data[32]) : [];
|
||||
pack.resources = data[35] ? JSON.parse(data[35]) : [];
|
||||
pack.markers = data[35] ? JSON.parse(data[35]) : [];
|
||||
|
||||
const cells = pack.cells;
|
||||
cells.biome = Uint8Array.from(data[16].split(','));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue