mirror of
https://github.com/enzet/map-machine.git
synced 2025-06-04 03:41:50 +02:00
Add processed tags set for labels.
This commit is contained in:
parent
0fc290d844
commit
617265dce5
9 changed files with 30 additions and 28 deletions
|
@ -363,7 +363,8 @@ class Scheme:
|
|||
if draw_captions == "main":
|
||||
return texts
|
||||
|
||||
texts += get_text(tags)
|
||||
processed: Set[str] = set()
|
||||
texts += get_text(tags, processed)
|
||||
|
||||
if "route_ref" in tags:
|
||||
texts.append(Label(tags["route_ref"].replace(";", " ")))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue