forked from MapComplete/MapComplete
New graphs; disable optimazation
This commit is contained in:
parent
8c5d4ed78f
commit
2bb50561fe
17 changed files with 62 additions and 21 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue