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:
1 parent
7a9e54afdc
commit
e0167bdeec
1 file changed
+7
@@ -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
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user