Remove problematic (and unused) clone methods, move contains out of ol.Rectangle

This commit is contained in:
Tom Payne
2012-09-24 23:12:32 +02:00
parent c43e04ea77
commit 424dbd7582
13 changed files with 38 additions and 122 deletions
-8
View File
@@ -41,14 +41,6 @@ ol.TileRange.boundingTileRange = function(var_args) {
};
/**
* @return {ol.TileRange} Clone.
*/
ol.TileRange.prototype.clone = function() {
return new ol.TileRange(this.minX, this.minY, this.maxX, this.maxY);
};
/**
* @param {ol.TileCoord} tileCoord Tile coordinate.
* @return {boolean} Contains tile coordinate.