Merge trees theme

This commit is contained in:
Pieter Vander Vennet 2021-01-04 19:08:22 +01:00
commit adce2732b7
13 changed files with 572 additions and 6 deletions

View file

@ -17,6 +17,7 @@ import * as widths from "../assets/themes/widths/width.json"
import * as drinking_water from "../assets/themes/drinking_water/drinking_water.json"
import * as climbing from "../assets/themes/climbing/climbing.json"
import * as surveillance_cameras from "../assets/themes/surveillance_cameras/surveillance_cameras.json"
import * as trees from "../assets/themes/trees/trees.json"
import * as personal from "../assets/themes/personalLayout/personalLayout.json"
import * as playgrounds from "../assets/themes/playgrounds/playgrounds.json"
import LayerConfig from "./JSON/LayerConfig";
@ -65,7 +66,8 @@ export class AllKnownLayouts {
new LayoutConfig(bike_monitoring_stations),
new LayoutConfig(surveillance_cameras),
new LayoutConfig(climbing),
new LayoutConfig(playgrounds)
new LayoutConfig(playgrounds),
new LayoutConfig(trees),
];

View file

@ -17,6 +17,7 @@ import * as direction from "../assets/layers/direction/direction.json"
import * as surveillance_camera from "../assets/layers/surveillance_cameras/surveillance_cameras.json"
import * as toilets from "../assets/layers/toilets/toilets.json"
import * as bookcases from "../assets/layers/public_bookcases/public_bookcases.json"
import * as tree_nodes from "../assets/layers/trees/tree_nodes.json"
import LayerConfig from "./JSON/LayerConfig";
export default class SharedLayers {
@ -45,7 +46,8 @@ export default class SharedLayers {
new LayerConfig(information_boards,[], "shared_layers"),
new LayerConfig(toilets,[], "shared_layers"),
new LayerConfig(bookcases,[], "shared_layers"),
new LayerConfig(surveillance_camera,[], "shared_layers")
new LayerConfig(surveillance_camera,[], "shared_layers"),
new LayerConfig(tree_nodes,[], "shared_layers")
];
const sharedLayers = new Map<string, LayerConfig>();
@ -57,4 +59,4 @@ export default class SharedLayers {
}
}
}