diff --git a/js/id/geo.js b/js/id/geo.js index f0c30d4a3..0b91c1ac4 100644 --- a/js/id/geo.js +++ b/js/id/geo.js @@ -87,5 +87,5 @@ iD.geo.pathLength = function(path) { }; iD.geo.metresToCoordinates = function(loc, vector) { - return [vector[1] / 111200, vector[0] / 111200 / Math.cos(loc[1])]; + return [vector[1] / 111200, vector[0] / 111200 / Math.abs(Math.cos(loc[1]))]; };