mirror of
https://github.com/enzet/map-machine.git
synced 2025-05-22 21:46:24 +02:00
Issue #13: support local restrictions.
This commit is contained in:
parent
ce6233486c
commit
34d7ae0dbc
7 changed files with 82 additions and 55 deletions
|
@ -278,7 +278,7 @@ class Constructor:
|
|||
self.extractor,
|
||||
line.tags,
|
||||
processed,
|
||||
self.configuration.zoom_level,
|
||||
self.configuration,
|
||||
)
|
||||
if icon_set is not None:
|
||||
labels: list[Label] = self.scheme.construct_text(
|
||||
|
@ -316,7 +316,7 @@ class Constructor:
|
|||
self.extractor,
|
||||
line.tags,
|
||||
processed,
|
||||
self.configuration.zoom_level,
|
||||
self.configuration,
|
||||
)
|
||||
if icon_set is not None:
|
||||
labels: list[Label] = self.scheme.construct_text(
|
||||
|
@ -430,7 +430,7 @@ class Constructor:
|
|||
return
|
||||
|
||||
icon_set, priority = self.scheme.get_icon(
|
||||
self.extractor, tags, processed, self.configuration.zoom_level
|
||||
self.extractor, tags, processed, self.configuration
|
||||
)
|
||||
if icon_set is None:
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue