From 51608fb22348a79b7459a7d3558202edb68ec773 Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Sun, 27 Oct 2024 15:30:24 +0100 Subject: [PATCH] Fix: bing layer, see #2222 --- scripts/generateLayouts.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/generateLayouts.ts b/scripts/generateLayouts.ts index 54af9c83c..a771409db 100644 --- a/scripts/generateLayouts.ts +++ b/scripts/generateLayouts.ts @@ -15,6 +15,7 @@ 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" import eli_global from "../src/assets/generated/editor-layer-index-global.json" +import bing from "../src/assets/bing.json" import ValidationUtils from "../src/Models/ThemeConfig/Conversion/ValidationUtils" import { LayerConfigJson } from "../src/Models/ThemeConfig/Json/LayerConfigJson" @@ -269,6 +270,7 @@ class GenerateLayouts extends Script { const rasterLayers: {properties: RasterLayerProperties}[] = [ AvailableRasterLayers.defaultBackgroundLayer, ...eli.features, + bing.properties.url, ...eli_global.map((properties) => ({ properties })), ...layers_global.layers.map((properties) => ({ properties })), ]