Commit Graph

37 Commits

Author SHA1 Message Date
Tom MacWright cdacdca2af Sort handles, fix area closing 2012-12-04 17:40:37 -05:00
Tom MacWright ea02651ed9 Merge branch 'master' of github.com:systemed/iD
Conflicts:
	js/id/actions/modes.js
2012-12-04 17:32:55 -05:00
Tom MacWright d66c27c578 Simplify modes more 2012-12-04 17:31:14 -05:00
John Firebaugh a316544008 Use datum() 2012-12-04 17:27:02 -05:00
John Firebaugh 6780ecb75b Add whitespace, cleanup, fix global leaks 2012-12-04 17:27:02 -05:00
Tom MacWright 5ef3eed3b0 Simplify modes, expose redraw 2012-12-04 17:23:09 -05:00
Tom MacWright 340b97c0e9 Split more functionality into util.geo and test it. 2012-12-04 16:52:59 -05:00
Tom MacWright e2b5a3f8ab New-style keybindings in modes 2012-12-04 16:31:39 -05:00
Tom MacWright 4978cd0c12 Resurface keybindings 2012-12-04 15:51:42 -05:00
Tom MacWright 8c3aa832f0 Rename Util to util, expand tests, move more out of map.js 2012-12-04 12:53:16 -05:00
John Firebaugh e3e17203cf Remove Map#redraw calls from modes
Map#redraw no longer accepts an argument, and changes to
the history automatically trigger a redraw.

It should be possible to calculate a set of changed entities
between two history versions, and redraw only those entities.
2012-12-04 11:35:56 -05:00
John Firebaugh fadbaf46a6 Use this.history directly 2012-12-03 18:41:04 -05:00
John Firebaugh da5239b98d Eliminate Map#{perform,undo,redo}
Map binds to history changes instead.
2012-12-03 18:37:41 -05:00
John Firebaugh 0370b487e3 Inject history dependency in map 2012-12-03 18:37:41 -05:00
Tom MacWright bd1a34153a First shot at way accuracy handles 2012-12-03 17:08:53 -05:00
Tom MacWright f149c899bb Rework about 2012-12-03 16:32:26 -05:00
Tom MacWright 62cdaa7075 Merge branch 'master' of github.com:systemed/iD
Conflicts:
	js/id/actions/modes.js
2012-12-03 16:25:39 -05:00
Tom MacWright 200b4f67d5 Clean up actions 2012-12-03 16:24:35 -05:00
John Firebaugh 1972711a66 Exit indirectly via controller (fixes #147) 2012-12-03 16:22:08 -05:00
Tom MacWright 4abc8b394b Select entity when you finish drawing a way. Fixes #143 2012-11-30 16:29:18 -05:00
Tom MacWright 2cde9b6212 Fix editing when your node is new 2012-11-29 16:56:06 -05:00
Tom MacWright 15267af822 Support drawing areas when you start out with ways 2012-11-29 16:43:56 -05:00
Tom MacWright f4b2019bb7 Support continuing ways. Needs area support and closing support 2012-11-29 16:25:17 -05:00
Tom MacWright d0fcc8cd26 More notes, don't simulate a href 2012-11-29 14:22:02 -05:00
Tom MacWright 50b3ca2074 Fixup chooseIndex, fixes #78 2012-11-29 12:33:02 -05:00
Tom MacWright d954a09184 Fixup area drawing, removing bonus nodes, preventing selection of
mid-drawing areas which incurs an expensive fetch.
2012-11-29 12:24:03 -05:00
Tom MacWright 946ab2c09e Properly remove popped node. Fixes #146 2012-11-29 10:33:52 -05:00
Tom MacWright 8a62aaa62a Use temporary elastic tag 2012-11-28 18:42:04 -05:00
Tom MacWright e34ba10ade Allow the beginning node of a way be an intersection with another way.
This needs to be ported to drawway and addarea. Fixes #137
2012-11-28 18:23:44 -05:00
Tom MacWright 2e7f4b992f Fix saving ways 2012-11-28 17:14:17 -05:00
Tom MacWright 6889bdea4d Fix area drawing. 2012-11-28 17:10:39 -05:00
Tom MacWright 69de1df67b Disable double-clicking when drawing. Fixes #134 2012-11-28 16:10:55 -05:00
Tom MacWright 80ea085f35 Get node-dependent osmChange working 2012-11-28 15:13:31 -05:00
Tom MacWright a9a16415a6 Fix way drawing 2012-11-28 14:29:50 -05:00
Tom MacWright c1a87ed8b6 Work on road drawing, index ways on demand 2012-11-28 13:59:28 -05:00
Tom MacWright 51370330f2 Reload data, fixes #129, also fixes jshint 2012-11-27 18:37:20 -05:00
Tom MacWright 936cefb4ef Rename and update 2012-11-27 17:51:03 -05:00