summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--public/assets/test/ortho3.html3
1 files changed, 1 insertions, 2 deletions
diff --git a/public/assets/test/ortho3.html b/public/assets/test/ortho3.html
index 467cbec..86f92d8 100644
--- a/public/assets/test/ortho3.html
+++ b/public/assets/test/ortho3.html
@@ -100,7 +100,7 @@ var ArrowTool = MapTool.extend(function(base){
if (p) {
document.body.style.cursor = "pointer"
- last_point.assign(line.points[0])
+ last_point.assign(p)
cursor.x.a = cursor.x.b = last_point.a
cursor.y.a = cursor.y.b = last_point.b
}
@@ -211,7 +211,6 @@ var Polyline = Fiber.extend(function(base){
var point
for (var i = 0; i < this.points.length; i++){
point = this.points[i]
- console.log(point.distanceTo( p ))
if (point.distanceTo( p ) < 10/map.zoom) {
return point
}