mirror of
https://github.com/enzet/map-machine.git
synced 2025-05-10 07:36:49 +02:00
Rename data/tags.yml to scheme/default.yml.
This commit is contained in:
parent
cbbd7bcf05
commit
0f3888430b
7 changed files with 5 additions and 5 deletions
|
@ -127,7 +127,7 @@ def draw_element(target: str, tags_description: str):
|
|||
comma, key from value is separated by equals sign.
|
||||
"""
|
||||
tags = dict([x.split("=") for x in tags_description.split(",")])
|
||||
scheme = Scheme("data/tags.yml")
|
||||
scheme = Scheme("scheme/default.yml")
|
||||
icon_extractor = IconExtractor("icons/icons.svg")
|
||||
icon, priority = scheme.get_icon(icon_extractor, tags)
|
||||
is_for_node: bool = target == "node"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue