Commit the part of #664 for map resize changes, with a regression test to

boot. Thanks for the patch, Tim.


git-svn-id: http://svn.openlayers.org/trunk/openlayers@3076 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2007-04-14 05:34:52 +00:00
parent 75d2dac1cb
commit 115fc7462b
3 changed files with 50 additions and 1 deletions

View File

@@ -202,7 +202,18 @@ OpenLayers.Layer.WFS.prototype =
}
}
},
/**
* Call the onMapResize method of the appropriate parent class.
*/
onMapResize: function() {
if(this.vectorMode) {
OpenLayers.Layer.Vector.prototype.onMapResize.apply(this, arguments);
} else {
OpenLayers.Layer.Markers.prototype.onMapResize.apply(this, arguments);
}
},
/**
* @param {Object} obj
*