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:
@@ -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
|
* APIMethod: getWarningHTML
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user