responsive infowindow

This commit is contained in:
lenovo
2022-11-14 15:19:22 +01:00
parent 362e549d8b
commit 40680d2689
4 changed files with 58 additions and 9 deletions

View File

@@ -30,7 +30,7 @@ function attach_info_window(map, marker, events, infowindow) {
let view_center = map.getCenter();
// height must be half css value (mp_info_windows.css -> '--size: XXXpx;')
let window_offset = { width: 0, height: 200 };
let window_offset = { width: 0, height: 275 };
infowindow.setOptions({
//disableAutoPan: true,