Google Map Centers At Top Left Corner
I've been looking at many different examples, problems, and other things regarding this and I can't seem to find anything, so i'll finally ask a question. The map I have does not c
Solution 1:
Initialize the map after the tab is clicked. This also works for the iframe google map, when used inside a tab.
Solution 2:
Tell your map to resize..
google.maps.event.trigger(map, 'resize');
map is the map instance that is returned by
map = new google.maps.Map(document.getElementById("map_canvas"), {
mapTypeId: google.maps.MapTypeId.ROADMAP
});
Post a Comment for "Google Map Centers At Top Left Corner"