Update the VirtualEarth layer size when the map is resized. r=ahocevar, p=Matthew D. Diez (closes #2285)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@9694 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Frédéric Junod
2009-10-01 09:37:27 +00:00
parent 7a9e54afdc
commit e0167bdeec

View File

@@ -131,6 +131,13 @@ OpenLayers.Layer.VirtualEarth = OpenLayers.Class(
},
/**
* Method: onMapResize
*/
onMapResize: function() {
this.mapObject.Resize(this.map.size.w, this.map.size.h);
},
/**
* APIMethod: getWarningHTML
*