From: ScottDowne Date: Mon, 31 Jan 2011 19:49:49 +0000 (-0500) Subject: [#262] google map resize function call X-Git-Tag: v0.3~17 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=aca9cc9a2ea2c4b9e21ce5f8500bb8e497456a25;p=popcorn-js.git [#262] google map resize function call --- diff --git a/plugins/googlemap/popcorn.googlemap.js b/plugins/googlemap/popcorn.googlemap.js index 6645a0c..6efc4f6 100644 --- a/plugins/googlemap/popcorn.googlemap.js +++ b/plugins/googlemap/popcorn.googlemap.js @@ -133,6 +133,8 @@ var googleCallback; } options.zoom = options.zoom || 0; // default to 0 options._map.setZoom( options.zoom ); + + google.maps.event.trigger(options._map, 'resize'); } };