New graphs; disable optimazation

This commit is contained in:
Pieter Vander Vennet 2021-03-12 13:48:49 +01:00
parent 8c5d4ed78f
commit 2bb50561fe
17 changed files with 62 additions and 21 deletions

View file

@ -17,7 +17,9 @@ export default class FeatureInfoBox extends ScrollableFullScreen {
tags: UIEventSource<any>,
layerConfig: LayerConfig
) {
super(() => FeatureInfoBox.GenerateTitleBar(tags, layerConfig),() => FeatureInfoBox.GenerateContent(tags, layerConfig));
super((mode:string) => FeatureInfoBox.GenerateTitleBar(tags, layerConfig, mode),
(mode:string) => FeatureInfoBox.GenerateContent(tags, layerConfig, mode));
if (layerConfig === undefined) {
throw "Undefined layerconfig";
}
@ -46,7 +48,8 @@ export default class FeatureInfoBox extends ScrollableFullScreen {
}
private static GenerateContent(tags: UIEventSource<any>,
layerConfig: LayerConfig): UIElement {
layerConfig: LayerConfig,
mode: string): UIElement {
let questionBox: UIElement = undefined;