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
+1 -1
View File
@@ -350,7 +350,7 @@ ol.Projection.identityTransform = function(point) {
* @return {ol.Coordinate} Point.
*/
ol.Projection.cloneTransform = function(point) {
return point.clone();
return new ol.Coordinate(point.x, point.y);
};