Draw state labels improvement (#1155)

* chore: render debug elements

* feat: redo draw state labels algo

---------

Co-authored-by: Azgaar <azgaar.fmg@yandex.com>
This commit is contained in:
Azgaar 2024-10-19 13:25:34 +02:00 committed by sofronaspe
parent bb6bd726a6
commit 53a6892492
6 changed files with 156 additions and 128 deletions

View file

@ -107,10 +107,10 @@ coastline.append("g").attr("id", "lake_island");
terrs.append("g").attr("id", "oceanHeights");
terrs.append("g").attr("id", "landHeights");
let burgLabels = labels.append("g").attr("id", "burgLabels");
labels.append("g").attr("id", "states");
labels.append("g").attr("id", "addedLabels");
let burgLabels = labels.append("g").attr("id", "burgLabels");
burgIcons.append("g").attr("id", "cities");
burgLabels.append("g").attr("id", "cities");
anchors.append("g").attr("id", "cities");