markers - export as geoJSON

This commit is contained in:
Azgaar 2021-09-27 22:47:37 +03:00 committed by Peter
parent 6d6dc22a75
commit 750f773cfb
4 changed files with 89 additions and 20 deletions

View file

@ -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(','));