mirror of
https://github.com/enzet/map-machine.git
synced 2025-07-23 19:38:51 +02:00
Change scheme initialization.
This commit is contained in:
parent
280fdd9fe0
commit
699c1e9592
11 changed files with 64 additions and 37 deletions
|
@ -173,7 +173,7 @@ class Tile:
|
|||
icon_extractor: ShapeExtractor = ShapeExtractor(
|
||||
workspace.ICONS_PATH, workspace.ICONS_CONFIG_PATH
|
||||
)
|
||||
scheme: Scheme = Scheme(workspace.DEFAULT_SCHEME_PATH)
|
||||
scheme: Scheme = Scheme.from_file(workspace.DEFAULT_SCHEME_PATH)
|
||||
constructor: Constructor = Constructor(
|
||||
osm_data, flinger, scheme, icon_extractor, configuration
|
||||
)
|
||||
|
@ -390,7 +390,7 @@ class Tiles:
|
|||
extractor: ShapeExtractor = ShapeExtractor(
|
||||
workspace.ICONS_PATH, workspace.ICONS_CONFIG_PATH
|
||||
)
|
||||
scheme: Scheme = Scheme(workspace.DEFAULT_SCHEME_PATH)
|
||||
scheme: Scheme = Scheme.from_file(workspace.DEFAULT_SCHEME_PATH)
|
||||
constructor: Constructor = Constructor(
|
||||
osm_data, flinger, scheme, extractor, configuration
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue