diff --git a/index.html b/index.html index fec43b80..1db3390a 100644 --- a/index.html +++ b/index.html @@ -8572,7 +8572,7 @@ - + diff --git a/modules/heightmap-generator.js b/modules/heightmap-generator.js index 5a69337e..87bc02d5 100644 --- a/modules/heightmap-generator.js +++ b/modules/heightmap-generator.js @@ -106,7 +106,7 @@ window.HeightmapGenerator = (function () { return blobPowerMap[cells] || 0.98; } - function getLinePower() { + function getLinePower(cells) { const linePowerMap = { 1000: 0.75, 2000: 0.77, diff --git a/modules/io/export.js b/modules/io/export.js index fcc94cb6..51164c73 100644 --- a/modules/io/export.js +++ b/modules/io/export.js @@ -564,7 +564,7 @@ function saveGeoJsonMarkers() { const features = pack.markers.map(marker => { const {i, type, icon, x, y, size, fill, stroke} = marker; const coordinates = getCoordinates(x, y, 4); - const note = notes.find(note => note.id === id); + const note = notes.find(note => note.id === "marker" + i); const properties = {id: i, type, icon, x, y, ...note, size, fill, stroke}; return {type: "Feature", geometry: {type: "Point", coordinates}, properties}; });