Merge pull request #2104 from paulmach/ortho12

Bump threshold for Orthogonalize to 12 degrees
This commit is contained in:
John Firebaugh
2014-01-16 12:43:43 -08:00
+1 -1
View File
@@ -3,7 +3,7 @@
*/
iD.actions.Orthogonalize = function(wayId, projection) {
var threshold = 7, // degrees within right or straight to alter
var threshold = 12, // degrees within right or straight to alter
lowerThreshold = Math.cos((90 - threshold) * Math.PI / 180),
upperThreshold = Math.cos(threshold * Math.PI / 180);