Hiding (through CSS) overlay popups when not shown (otherwise they are just located under the map and show up when the map is moved before tiles are loaded.

This commit is contained in:
vdv committed 2023-02-06 09:24:57 +01:00
1 parent e528db9fad
commit 86427d5ff9
2 files changed
+5 -1

No files matched your search

+2 -1
View File
@@ -7,6 +7,8 @@ import { useI18n } from '@solid-primitives/i18n';
import proj4 from 'proj4';
import style from './Finder.module.css';
import './finder.css';
import { Box, Button, IconButton, TextField } from '@suid/material';
import Dialog from '../dialog';
import { getMap, getState } from '../map';
@@ -168,5 +170,4 @@ const Finder: Component<Props> = (props) => {
</>
);
};
export default Finder;
+3
View File
@@ -0,0 +1,3 @@
.ol-map .ol_popup {
visibility: hidden;
}