Apply patch for #376 - fixing tile.clear() calls that were mistakenly replaced with OpenLayers.Util.clearArray() at r1590
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1738 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -83,7 +83,7 @@ OpenLayers.Tile.prototype = {
|
||||
redraw = true;
|
||||
}
|
||||
|
||||
OpenLayers.Util.clearArray(this);
|
||||
this.clear();
|
||||
this.bounds = bounds.clone();
|
||||
this.position = position.clone();
|
||||
if (redraw) {
|
||||
@@ -121,3 +121,4 @@ OpenLayers.Tile.prototype = {
|
||||
CLASS_NAME: "OpenLayers.Tile"
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@ OpenLayers.Tile.WFS.prototype =
|
||||
*/
|
||||
draw:function() {
|
||||
if (this.drawn) {
|
||||
OpenLayers.Util.clearArray(this);
|
||||
this.clear();
|
||||
}
|
||||
OpenLayers.Tile.prototype.draw.apply(this, arguments);
|
||||
if (this.layer.displayOutsideMaxExtent || (this.layer.maxExtent &&
|
||||
@@ -131,3 +131,4 @@ OpenLayers.Tile.WFS.prototype =
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user