fix: remove unwanted states styling

This commit is contained in:
Azgaar 2024-10-03 13:05:10 +02:00 committed by sofronaspe
parent 9da6f22130
commit c7f38f7fc1
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);
}
}