feat: migrate label data structure from SVG to data model and update version to 1.113.0

This commit is contained in:
StempunkDev 2026-02-17 01:45:48 +01:00
parent ca6d01f4be
commit 3ab40ada5f
4 changed files with 158 additions and 3 deletions

View file

@ -104,6 +104,7 @@ function prepareMapData() {
const routes = JSON.stringify(pack.routes);
const zones = JSON.stringify(pack.zones);
const ice = JSON.stringify(pack.ice);
const labels = JSON.stringify(pack.labels || []);
// store name array only if not the same as default
const defaultNB = Names.getNameBases();
@ -158,7 +159,8 @@ function prepareMapData() {
cellRoutes,
routes,
zones,
ice
ice,
labels
].join("\r\n");
return mapData;
}