forked from MapComplete/MapComplete
chore: automated housekeeping...
This commit is contained in:
parent
da3868ae9b
commit
a9ed9e221d
78 changed files with 309 additions and 160 deletions
|
@ -10,7 +10,11 @@ import ScriptUtils from "./ScriptUtils"
|
|||
import { Utils } from "../src/Utils"
|
||||
import SpecialVisualizations from "../src/UI/SpecialVisualizations"
|
||||
import Constants from "../src/Models/Constants"
|
||||
import { AvailableRasterLayers, EditorLayerIndexProperties, RasterLayerPolygon } from "../src/Models/RasterLayers"
|
||||
import {
|
||||
AvailableRasterLayers,
|
||||
EditorLayerIndexProperties,
|
||||
RasterLayerPolygon,
|
||||
} from "../src/Models/RasterLayers"
|
||||
import { ImmutableStore } from "../src/Logic/UIEventSource"
|
||||
import * as eli from "../public/assets/data/editor-layer-index.json"
|
||||
import * as layers_global from "../src/assets/global-raster-layers.json"
|
||||
|
@ -267,10 +271,10 @@ class GenerateLayouts extends Script {
|
|||
}
|
||||
const urls: string[] = []
|
||||
const regex = /{switch:([^}]+)}/
|
||||
const rasterLayers: {properties: RasterLayerProperties}[] = [
|
||||
const rasterLayers: { properties: RasterLayerProperties }[] = [
|
||||
AvailableRasterLayers.defaultBackgroundLayer,
|
||||
...eli.features,
|
||||
bing,
|
||||
bing,
|
||||
...eli_global.map((properties) => ({ properties })),
|
||||
...layers_global.layers.map((properties) => ({ properties })),
|
||||
]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue