From 9a16e06223b64ba8550608331eaabb509039da27 Mon Sep 17 00:00:00 2001
From: Federico Busetti <729029+febus982@users.noreply.github.com>
Date: Fri, 28 Nov 2025 12:15:51 +0000
Subject: [PATCH 1/2] Fix Markers GeoJSON export (#1248)
* Fix the retrieval of the marker node on GeoJSON export
* Versioning update
---
index.html | 2 +-
modules/io/export.js | 2 +-
versioning.js | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/index.html b/index.html
index 0c8a1e58..5a18e579 100644
--- a/index.html
+++ b/index.html
@@ -8166,7 +8166,7 @@
-
+
diff --git a/modules/io/export.js b/modules/io/export.js
index b0c9c769..4afa5f34 100644
--- a/modules/io/export.js
+++ b/modules/io/export.js
@@ -554,7 +554,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};
});
diff --git a/versioning.js b/versioning.js
index 1094599c..89c2124b 100644
--- a/versioning.js
+++ b/versioning.js
@@ -13,7 +13,7 @@
* Example: 1.102.2 -> Major version 1, Minor version 102, Patch version 2
*/
-const VERSION = "1.108.12";
+const VERSION = "1.108.13";
if (parseMapVersion(VERSION) !== VERSION) alert("versioning.js: Invalid format or parsing function");
{
From 0feca43b14ad65e0663754c043ebbb4d8cb6b139 Mon Sep 17 00:00:00 2001
From: Pinyang Yuan
Date: Mon, 5 Jan 2026 20:14:13 +0800
Subject: [PATCH 2/2] fix: add parameters to getLinePower in
heightmap-generator.js (#1256)
Previously `getLinePower` was defined without any parameters, which meant callers had to rely on global variable `cells` which overrides `cellDesired` value.
---
modules/heightmap-generator.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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,