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:
@@ -60,6 +60,7 @@ OpenLayers.Tile.prototype = {
|
|||||||
this.layer = null;
|
this.layer = null;
|
||||||
this.bounds = null;
|
this.bounds = null;
|
||||||
this.size = 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;
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user