Revision: 61751
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at January 12, 2013 02:03 by koycarraway
Initial Code
var center; function calculateCenter() { center = map.getCenter(); } google.maps.event.addDomListener(map, 'idle', function() { calculateCenter(); }); google.maps.event.addDomListener(window, 'resize', function() { map.setCenter(center); });
Initial URL
Initial Description
Initial Title
Center Google Map (v3) during browser resize
Initial Tags
Initial Language
JavaScript