John Firebaugh
e5d79d5270
Fix various line and area drawing bugs
...
The way and vertex being drawn get an `active` class,
which can be used to hide the vertex and set
`pointer-events: none` on the line.
Use the correct cursors when connecting (fixes #293 ).
Splice into existing lines at the correct index and
location (fixes #246 ).
2013-01-07 21:58:01 -08:00
John Firebaugh
ec0ca2a2da
'started a road' -> 'started a line'
2013-01-07 17:08:11 -08:00
Tom MacWright
d4af1032a3
Clear inspector when closed
2013-01-07 18:28:52 -05:00
Tom MacWright
00da444a33
Merge pull request #322 from systemed/inspector-intersect
...
Inspector intersect
2013-01-07 09:15:10 -08:00
Tom MacWright
de70e1e976
Pan the map for features that intersect with both edges
2013-01-07 12:14:37 -05:00
Tom MacWright
12beb14d07
Work on #250
...
Implement inspector without a collapsed mode and with semi-intelligent
detection of whether features will conflict with the position of the
inspector. Also adds a `centerEase` fn to the map object.
2013-01-07 11:51:04 -05:00
John Firebaugh
2d3ce6c125
Extract hover behavior
2013-01-07 08:34:37 -08:00
Tom MacWright
3f8a872d79
Double click to add detail to lines. Fixes #298
2013-01-04 12:36:23 -05:00
Tom MacWright
6040c6efa3
Fix map reference regression
2013-01-02 14:37:47 -05:00
Tom MacWright
f5873a3bc1
Add .hoverEnable to map and disable it for drawing-related modes. Fixes #234
2013-01-02 14:29:04 -05:00
John Firebaugh
6e920e7110
Correct event namespace
2012-12-27 18:52:56 -08:00
John Firebaugh
78569a5ef3
Extract select behavior to mode
...
While here, use a more appropriate class (.selected).
2012-12-27 18:52:55 -08:00
John Firebaugh
40a32de443
Hide select cursors when in draw modes ( fixes #290 )
2012-12-21 13:32:39 -08:00
John Firebaugh
6a4b75aa88
latedrag functionality was merged into iD.behavior.drag
2012-12-21 12:29:59 -08:00
John Firebaugh
2c8bbd8985
Integrate new drag behaviors
2012-12-21 12:10:44 -08:00
John Firebaugh
511dcfa6ac
Rewrite drag behaviors in terms of iD.behavior.drag
2012-12-21 12:10:44 -08:00
John Firebaugh
7f4acb46fc
Ensure dragging a way is undoable
2012-12-21 12:10:43 -08:00
Tom MacWright
811187620d
jshint fixes
2012-12-18 10:47:32 -05:00
Saman Bemel-Benrud
2c3c4cc652
resolve conflict.
2012-12-14 19:58:15 -05:00
Saman Bemel-Benrud
8c364091a3
refining cursor behavior.
2012-12-14 19:54:55 -05:00
John Firebaugh
ad0efa4931
Place -> Point
...
We decided to use geometric terms for the modes.
2012-12-14 14:39:38 -08:00
Saman Bemel-Benrud
9ab37f612d
Merge branch 'master' of github.com:systemed/iD
2012-12-14 16:30:47 -05:00
Saman Bemel-Benrud
37c79c0500
basic cursor stuff.
2012-12-14 16:30:31 -05:00
Tom MacWright
24b6e8adb2
Just an area tag. Fixes #282
2012-12-14 15:04:54 -05:00
Tom MacWright
b5065d81c4
Fix way node dragging. Fixes #279
2012-12-14 13:51:36 -05:00
Tom MacWright
1abffc6f8a
Finish areas on double-click. Fixes #272
2012-12-14 13:45:53 -05:00
Tom MacWright
66f58ac96b
Fix regressions in 9743ee282b - .hint() is
...
not meant to be chainable.
2012-12-14 13:42:53 -05:00
John Firebaugh
9eb4552573
Revert unintended changes in c93cd4
2012-12-13 17:43:51 -08:00
John Firebaugh
209b87f7e8
Extract MoveWay action
2012-12-13 17:39:07 -08:00
John Firebaugh
ee3f5cc768
Move -> MoveNode, in preparation for MoveWay
2012-12-13 17:39:07 -08:00
John Firebaugh
15c5f5d866
Follow rename
2012-12-13 17:39:07 -08:00
John Firebaugh
150dcf471e
Chain
2012-12-13 17:39:07 -08:00
John Firebaugh
304a9c3603
Add symbol for delete key
2012-12-13 17:39:07 -08:00
John Firebaugh
c37aa11408
Start testing modes
2012-12-13 17:39:06 -08:00
Tom MacWright
9461fe794c
Fix dragging selected features. Fixes #271
2012-12-13 17:00:34 -05:00
Tom MacWright
a6a608499d
Fix inspector actions
2012-12-13 15:16:54 -05:00
Tom MacWright
52d9227232
Rename add road to add line. Fixes #252
2012-12-13 12:06:12 -05:00
Saman Bemel-Benrud
03020fb517
resolved conflict.
2012-12-12 20:46:12 -05:00
Saman Bemel-Benrud
c93cd4c9a3
starting to style handles.
2012-12-12 20:44:05 -05:00
Tom MacWright
dc4c5dcb3f
Fix way dragging distortion. Fixes #258
2012-12-12 17:45:20 -05:00
Tom MacWright
f527a4f6fd
Complete bindings for roads and areas. Fixes #180
2012-12-12 17:22:45 -05:00
Tom MacWright
4411a33a0c
Delete way when deleting nodes via inspector. Fixes #216
2012-12-12 17:09:09 -05:00
Tom MacWright
14fd8e0951
Delete ways and areas when they are down to one and two nodes
2012-12-12 16:56:40 -05:00
Tom MacWright
b18ba11a09
Fixes #229 and road closing nodes. Order matters for history.replace
2012-12-11 15:58:17 -05:00
Tom MacWright
435b7f46fc
Namespace all events
2012-12-11 12:02:01 -05:00
Saman Bemel-Benrud
1ec08c229f
fixed broken right tooltip.
2012-12-10 16:55:42 -05:00
Tom MacWright
c9f5cf736c
Add road and connection typos
2012-12-09 14:04:34 -05:00
Tom MacWright
3dd3f4828d
Fix global leak
2012-12-09 11:54:11 -05:00
Tom MacWright
19082bcf2a
Make spliced nodes straight. Fixes #241
2012-12-09 00:00:23 -05:00
Tom MacWright
a6327b566b
Fix starting ways inbetween other ways. Fixes #244
2012-12-08 23:43:26 -05:00