Workaround: popups move into zoom vertically too now on desktop

This commit is contained in:
Pieter Vander Vennet 2021-01-07 20:11:07 +01:00
parent 7dc7cc283d
commit 9a412c6b74
4 changed files with 17 additions and 13 deletions

View file

@ -124,7 +124,8 @@ export default class ShowDataLayer {
const tags = State.state.allElements.getEventSourceFor(feature);
const uiElement: LazyElement = new LazyElement(() => new FeatureInfoBox(tags, layer));
const uiElement: LazyElement = new LazyElement(() => new FeatureInfoBox(tags, layer),
"<div style='height: 90vh'>Rendering</div>");
popup.setContent(uiElement.Render());
popup.on('remove', () => {
State.state.selectedElement.setData(undefined);