highlight way or node that will be connected to

This commit is contained in:
Ansis Brammanis
2013-01-09 17:22:08 -05:00
parent 1eb5744b8d
commit f489117e5b
+2
View File
@@ -15,6 +15,8 @@ iD.modes.DrawLine = function(wayId, direction) {
headId = (direction === 'forward') ? _.last(way.nodes) : _.first(way.nodes),
tailId = (direction === 'forward') ? _.first(way.nodes) : _.last(way.nodes);
iD.behavior.Hover()(surface);
map.dblclickEnable(false)
.fastEnable(false)
.hint('Click to add more points to the line. ' +