forked from MapComplete/MapComplete
Refactoring: move the units into the layers instead of the themes
This commit is contained in:
parent
3492b5d403
commit
206aff2c9a
16 changed files with 259 additions and 300 deletions
|
@ -41,7 +41,7 @@ for (const layerConfigJson of themeConfigJson.layers) {
|
|||
layerConfigJson["source"] = {osmTags: tags}
|
||||
}
|
||||
// @ts-ignore
|
||||
const layerConfig = new LayerConfig(layerConfigJson, AllKnownLayers.sharedUnits, "fix theme", true)
|
||||
const layerConfig = new LayerConfig(layerConfigJson, "fix theme", true)
|
||||
const images: string[] = Array.from(layerConfig.ExtractImages())
|
||||
const remoteImages = images.filter(img => img.startsWith("http"))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue