mirror of
https://github.com/enzet/map-machine.git
synced 2025-06-07 05:11:53 +02:00
Issue #137: support layers for ways.
First check layer value and then priority.
This commit is contained in:
parent
1a719fca2a
commit
697fee5c87
2 changed files with 22 additions and 1 deletions
|
@ -525,7 +525,7 @@ class Constructor:
|
|||
|
||||
def get_sorted_figures(self) -> list[StyledFigure]:
|
||||
"""Get all figures sorted by priority."""
|
||||
return sorted(self.figures, key=lambda x: x.line_style.priority)
|
||||
return sorted(self.figures)
|
||||
|
||||
|
||||
def check_level_number(tags: Tags, level: float) -> bool:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue