Commit 392c188e authored by amandaghassaei's avatar amandaghassaei

new fold js

parent 818c542f
......@@ -429,8 +429,8 @@ RepeatedPointsDS = (function() {
RepeatedPointsDS.prototype.key = function(coord) {
var key, x, xr, y, yr;
x = coord[0], y = coord[1];
xr = Math.round(x * this.epsilon);
yr = Math.round(y * this.epsilon);
xr = Math.round(x / this.epsilon);
yr = Math.round(y / this.epsilon);
return key = xr + "," + yr;
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment