Tom MacWright
9a3d545f17
Do not focus text fields after initial placement
2013-01-22 14:42:21 -05:00
Tom MacWright
5937258c24
Merge branch 'hash'
2013-01-22 11:19:33 -05:00
Tom MacWright
55346c4d33
Work around blur issue for #439
2013-01-22 11:19:09 -05:00
Tom MacWright
42f145a945
Merge pull request #457 from systemed/hash
...
Hash
2013-01-22 07:47:03 -08:00
Tom MacWright
38c02509ea
Do not tolerate modifiers for action shortcuts.
...
Tolerates id-equality for selecting features.
2013-01-22 10:39:10 -05:00
Tom MacWright
3d90801e63
Add willselect to hash, works with non-line features.
2013-01-22 10:22:00 -05:00
John Firebaugh
2e14a6b4de
Unbind ⌘-Z when exiting DrawLine ( fixes #455 )
2013-01-22 09:49:38 -05:00
Tom MacWright
7cf234365e
Non-overwriting hash, add hash in select mode. Needs code for dealing
...
with hash.
2013-01-22 09:41:29 -05:00
Tom MacWright
b3765a4467
Microbranching jshint stuff.
2013-01-22 09:35:34 -05:00
John Firebaugh
3d98fdd0c5
Merge branch 'gridify'
2013-01-18 15:19:35 -08:00
John Firebaugh
95800741fd
Add some utility methods to Way
2013-01-18 14:44:29 -08:00
John Firebaugh
ce6e11a8a0
Test copying tags to the split way
2013-01-18 14:44:28 -08:00
Ansis Brammanis
faecda854e
Improve inspector-forced panning
2013-01-18 13:04:42 -05:00
saman bb
1de76aea56
resolve merge
2013-01-17 22:27:25 -05:00
Saman Bemel-Benrud
ae1220726b
resolved conflict
2013-01-17 19:03:19 -05:00
John Firebaugh
5a2444b551
Extract and fix extent/intersection calculations
...
Extents are now [[min x, min y], [max x, max y]].
2013-01-17 14:27:01 -08:00
Tom MacWright
fd2ef2a78b
Rename tooltip to tail, use tail in modes.
2013-01-17 12:07:26 -05:00
Tom MacWright
061e81d14a
Merge branch 'master' into tooltips
2013-01-17 11:32:37 -05:00
Ansis Brammanis
b8d9741959
Only update inspector tag list when necessary
2013-01-17 10:48:42 -05:00
Tom MacWright
eecc6b14fb
First shot at tooltips cc @samanbb
2013-01-16 18:39:12 -05:00
Ansis Brammanis
a9de2500aa
Fix undo right after drawing line or area
2013-01-16 12:43:29 -05:00
Ansis Brammanis
a980695ee7
Avoid creating lines with < 2 nodes (or areas < 3)
2013-01-16 12:20:35 -05:00
Saman Bemel-Benrud
b9a2914b35
implementing flexible grid.
2013-01-15 20:11:05 -05:00
Ansis Brammanis
1a2b897d06
Fix closing inspector after delete
2013-01-15 17:23:00 -05:00
Ansis Brammanis
754225aeb7
Autosave tags when closing inspector
2013-01-14 17:14:10 -05:00
Tom MacWright
72afc6dcb9
Namespace UI components
2013-01-14 14:00:51 -05:00
Ansis Brammanis
233b2647cd
fix isLine logic (from jfire)
2013-01-14 11:46:45 -05:00
Ansis Brammanis
dc9f7f6a03
stop addLine from continuing area's way
2013-01-14 10:45:54 -05:00
Ansis Brammanis
fcc981db60
Exit select mode if entity gets undone
2013-01-14 10:13:50 -05:00
Ansis Brammanis
ac8c12e7eb
Remove double-undo when exiting drawLine mode
2013-01-13 19:55:08 -05:00
John Firebaugh
4c6757714c
parentWays/Relations now take an entity
2013-01-11 17:26:25 -08:00
John Firebaugh
7dc1945ee3
accuracy-handle -> midpoint
2013-01-11 14:54:51 -08:00
Ansis Brammanis
d4524d2ef5
Fix area closing (no duplicate nodes at end of way)
2013-01-11 15:32:25 -05:00
Ansis Brammanis
87ee1cf0cb
Select way/area after hitting enter/escape
2013-01-11 14:30:09 -05:00
Ansis Brammanis
bdb958d912
simpler panning on select
2013-01-11 12:31:42 -05:00
Ansis Brammanis
46aff8d1ba
Fix connecting a way to an accuracy handle
2013-01-11 12:00:02 -05:00
Ansis Brammanis
59bfe703fd
Restrict zoom while drawing
2013-01-11 11:32:07 -05:00
Ansis Brammanis
3fdf32f4dd
Add ctrl-z and make it work nicely with drawline
2013-01-11 10:20:34 -05:00
Ansis Brammanis
bc53ae457e
Fix undo while drawing
2013-01-09 17:44:20 -05:00
Ansis Brammanis
f489117e5b
highlight way or node that will be connected to
2013-01-09 17:22:08 -05:00
Tom MacWright
2fc2d835ea
Revert "Do not continue areas. Fixes #331 "
...
This reverts commit e88508a123 .
2013-01-08 13:53:34 -05:00
Tom MacWright
e88508a123
Do not continue areas. Fixes #331
2013-01-08 13:48:18 -05:00
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