Been searching for days and read every thread here on Stack with the words Google Maps and Center but cannot find anything that comes close to the problem.
I'm putting together a Google Map that has multiple markers. The map is locked so that it cannot be moved or zoomed. When you click a marker the infobox opens and the map is locked with disableAutoPan: true These things work fine.
However, the problem occurs with markers near the edge of the map and the infoboxes being off screen. I have tried for days to try and remedy this including pixelOffset: and position: but so far nothing has worked.
So my question, is it possible to position an infobox bang in the center of the screen and if so how? Example Example of what I am trying to achieve
Sorry for the long-windedness