Remove problematic (and unused) clone methods, move contains out of ol.Rectangle
This commit is contained in:
@@ -76,14 +76,6 @@ ol.TileCoord.createFromString = function(str) {
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @return {ol.TileCoord} Clone.
|
||||
*/
|
||||
ol.TileCoord.prototype.clone = function() {
|
||||
return new ol.TileCoord(this.z, this.x, this.y);
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @return {number} Hash.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user