diff --git a/index.html b/index.html
index 4ebd35b5..19f80e5e 100644
--- a/index.html
+++ b/index.html
@@ -8118,7 +8118,7 @@
-
+
diff --git a/modules/dynamic/auto-update.js b/modules/dynamic/auto-update.js
index 0a6dcd24..e14e594f 100644
--- a/modules/dynamic/auto-update.js
+++ b/modules/dynamic/auto-update.js
@@ -946,19 +946,23 @@ export function resolveVersionConflicts(mapVersion) {
// v1.104.00 separated pole of inaccessibility detection from layer rendering
BurgsAndStates.getPoles();
Provinces.getPoles();
-
- // v1.104.00 removed some layers from initial render
- viewbox.select("#icons").style("display", null);
- viewbox.select("#ice").style("display", null);
-
- // v1.104.00 added featurePaths to defs
- const featurePaths = defs.select("#featurePaths");
- if (!featurePaths.size()) defs.append("g").attr("id", "featurePaths");
}
if (isOlderThan("1.105.0")) {
- // v1.104.0 introduced some bugs
+ // v1.104.0 introduced some bugs with layers visibility
+ viewbox.select("#icons").style("display", null);
+ viewbox.select("#ice").style("display", null);
viewbox.select("#regions").style("display", null);
viewbox.select("#armies").style("display", null);
}
+
+ if (isOlderThan("1.106.0")) {
+ // v1.104.0 introduced bugs with coastlines. Redraw features
+ defs.select("#featurePaths").remove();
+ defs.append("g").attr("id", "featurePaths");
+ defs.select("#land").selectAll("path, use").remove();
+ defs.select("#water").selectAll("path, use").remove();
+ viewbox.select("#coastline").selectAll("path, use").remove();
+ drawFeatures();
+ }
}
diff --git a/modules/io/load.js b/modules/io/load.js
index c455fb52..a3f39913 100644
--- a/modules/io/load.js
+++ b/modules/io/load.js
@@ -459,7 +459,7 @@ async function parseLoadedData(data, mapVersion) {
{
// dynamically import and run auto-update script
- const {resolveVersionConflicts} = await import("../dynamic/auto-update.js?v=1.104.12");
+ const {resolveVersionConflicts} = await import("../dynamic/auto-update.js?v=1.105.5");
resolveVersionConflicts(mapVersion);
}
diff --git a/versioning.js b/versioning.js
index e6b4739d..87fabf96 100644
--- a/versioning.js
+++ b/versioning.js
@@ -12,7 +12,7 @@
*
* Example: 1.102.2 -> Major version 1, Minor version 102, Patch version 2
*/
-const VERSION = "1.105.4";
+const VERSION = "1.105.5";
if (parseMapVersion(VERSION) !== VERSION) alert("versioning.js: Invalid format or parsing function");
{