This commit is contained in:
Azgaar 2019-11-01 13:31:46 +03:00
parent 9c034139d9
commit bb9ed93db9

View file

@ -226,7 +226,7 @@
.attr("width", caSize).attr("height", caSize);
// towns
const towns = pack.burgs.filter(b => !b.capital);
const towns = pack.burgs.filter(b => b.i && !b.capital);
const townIcons = burgIcons.select("#towns");
const townLabels = burgLabels.select("#towns");
const townSize = townIcons.attr("size") || 0.5;