Fix to remove extraneous clear() from Tile.moveTo (Closes #1017)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@4502 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2007-09-28 17:11:18 +00:00
parent 0307d4868a
commit c28f13f88d
3 changed files with 3 additions and 5 deletions

View File

@@ -133,7 +133,6 @@ OpenLayers.Tile.Image = OpenLayers.Class(OpenLayers.Tile, {
* be reused in a new location.
*/
clear: function() {
OpenLayers.Tile.prototype.clear.apply(this, arguments);
if(this.imgDiv) {
this.imgDiv.style.display = "none";
}

View File

@@ -65,7 +65,6 @@ OpenLayers.Tile.WFS = OpenLayers.Class(OpenLayers.Tile, {
* be reused in a new location.
*/
clear: function() {
OpenLayers.Tile.prototype.clear.apply(this, arguments);
this.destroyAllFeatures();
},