[fusion-commits] r2023 - trunk/lib/OpenLayers
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Fri Dec 18 16:01:07 EST 2009
Author: chrisclaydon
Date: 2009-12-18 16:01:07 -0500 (Fri, 18 Dec 2009)
New Revision: 2023
Modified:
trunk/lib/OpenLayers/OpenLayers.js
Log:
Fix #333 - Add onMapResize event from trunk version of OpenLayers to the VirtualEarth layer class to ensure it handles browser resize events correctly.
Modified: trunk/lib/OpenLayers/OpenLayers.js
===================================================================
--- trunk/lib/OpenLayers/OpenLayers.js 2009-12-18 06:15:23 UTC (rev 2022)
+++ trunk/lib/OpenLayers/OpenLayers.js 2009-12-18 21:01:07 UTC (rev 2023)
@@ -27453,6 +27453,13 @@
}
},
+
+ /**
+ * Method: onMapResize
+ */
+ onMapResize: function() {
+ this.mapObject.Resize(this.map.size.w, this.map.size.h);
+ },
/**
* APIMethod: getWarningHTML
More information about the fusion-commits
mailing list