Issue #13: support local restrictions.

This commit is contained in:
Sergey Vartanov 2021-09-12 06:09:41 +03:00
parent ce6233486c
commit 34d7ae0dbc
7 changed files with 82 additions and 55 deletions

View file

@ -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