diff --git a/web/js/GMap.js b/web/js/GMap.js
index <HASH>..<HASH> 100644
--- a/web/js/GMap.js
+++ b/web/js/GMap.js
@@ -27,7 +27,7 @@
         // Be sure to call the draw method on drag and resize events.
         that = this;
         google.maps.event.addListener(this.map, "drag", function () { that.draw(); });
-        $(window).resize(function () { that.draw(); });
+        $(elem).resize(function () { google.maps.event.trigger(that.map, "resize"); });
 
         // Fake an empty configuration if the user did not send one in.
         this.cfg = cfg || {};
Changing GMap resize event to be more effective

Changing source of event to be the map container to pick up
more resizes than just window events, and calling the
Google Maps resize event instead of draw().