When the page has loaded and the map is visible, an infoWindow opens on the map without any click. But sometimes, depending on the markers position, part of infoWindows is outside of map. Is there a way to prevent this from happen and always get infoWindow within the map?
Update
The problem is that the infowindow is shows before the markers appears on the map. So the infowindow starts att the markers position, but when the marker are in place the infowindow jumps up a little bit so that it starts just above the marker. But since the first position was before the marker, the infowindow get outside the map.
Anyone who knows why the infowindows shows on the map first, despite that the placing of the markers are first in the code? Is it possible to check if all markers are in place before activate the infowindow?