fix: remove unwanted states styling

This commit is contained in:
Azgaar 2024-10-03 13:05:10 +02:00
parent 2d0030e3d4
commit 56597d961d
4 changed files with 11 additions and 3 deletions

View file

@ -964,5 +964,13 @@ export function resolveVersionConflicts(mapVersion) {
defs.select("#water").selectAll("path, use").remove();
viewbox.select("#coastline").selectAll("path, use").remove();
drawFeatures();
// v1.104.0 introduced bugs with state borders
regions
.attr("opacity", null)
.attr("stroke-width", null)
.attr("letter-spacing", null)
.attr("fill", null)
.attr("stroke", null);
}
}

View file

@ -461,7 +461,7 @@ async function parseLoadedData(data, mapVersion) {
{
// dynamically import and run auto-update script
const {resolveVersionConflicts} = await import("../dynamic/auto-update.js?v=1.105.5");
const {resolveVersionConflicts} = await import("../dynamic/auto-update.js?v=1.105.10");
resolveVersionConflicts(mapVersion);
}