forked from MapComplete/MapComplete
Add current view popup
This commit is contained in:
commit
c76b0a6340
9 changed files with 116 additions and 45 deletions
|
@ -25,10 +25,13 @@ export default class FeatureInfoBox extends ScrollableFullScreen {
|
|||
public constructor(
|
||||
tags: UIEventSource<any>,
|
||||
layerConfig: LayerConfig,
|
||||
hashToShow?: string,
|
||||
isShown?: UIEventSource<boolean>
|
||||
) {
|
||||
super(() => FeatureInfoBox.GenerateTitleBar(tags, layerConfig),
|
||||
() => FeatureInfoBox.GenerateContent(tags, layerConfig),
|
||||
tags.data.id);
|
||||
hashToShow ?? tags.data.id,
|
||||
isShown);
|
||||
|
||||
if (layerConfig === undefined) {
|
||||
throw "Undefined layerconfig";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue