Gestern wurde die V2 API von Google Maps abgeschaltet. Nach der Migration auf V3 ist mir unter anderem aufgefallen dass der InfoWindow Content manchmal mit Scrollbars dargestellt wird: Ein kurzer Blick in den Quelltext verrät auch gleich den „Schuldigen“:
Schlagwort-Archive:google
Set zoom level of a google map so that all markers are visible
A couple of months ago I needed to set the zoom level of a Google Map so that all markers in the map are visible. After hours of reading the API documentation, I did not find any solution on that issue, so I wrote a little Javascript function that does exactly that.