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] 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"); {