remove unused remove function, add new clear() function

git-svn-id: http://svn.openlayers.org/trunk/openlayers@1149 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2006-08-09 06:11:31 +00:00
parent 8e5acd019a
commit b3c10c0892

View File

@@ -60,6 +60,7 @@ OpenLayers.Tile.prototype = {
this.layer = null;
this.bounds = null;
this.size = null;
this.position = null;
},
/**
@@ -82,9 +83,12 @@ OpenLayers.Tile.prototype = {
},
/** remove this tile from the ds
/** Clear the tile of any bounds/position-related data so that it can
* be reused in a new location.
*/
remove:function() {
clear: function() {
this.bounds = null;
this.position = null;
},
/**