Never call the
fitBounds method on your Google Maps V3 map when the supporting
div is hidden. This will result in an incorrectly calculated zoom level because (apparently) the JavaScript code cannot determine the
div dimensions. Always make sure the
div is visible before calling
fitBounds.
No comments:
Post a Comment