Remove problematic (and unused) clone methods, move contains out of ol.Rectangle
This commit is contained in:
@@ -21,11 +21,3 @@ goog.inherits(ol.Coordinate, goog.math.Vec2);
|
||||
* @type {ol.Coordinate}
|
||||
*/
|
||||
ol.Coordinate.ZERO = new ol.Coordinate(0, 0);
|
||||
|
||||
|
||||
/**
|
||||
* @return {ol.Coordinate} Clone.
|
||||
*/
|
||||
ol.Coordinate.prototype.clone = function() {
|
||||
return new ol.Coordinate(this.x, this.y);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user