Commit Graph

60 Commits

Author SHA1 Message Date
Tom MacWright 40f6f55e72 More cleanup 2012-12-04 13:15:15 -05:00
Tom MacWright 89e94fc7b1 Cleanup 2012-12-04 13:13:36 -05:00
Tom MacWright a0d28c1e2d Expand tests, move way logic into entity.js and test it. 2012-12-04 13:06:21 -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
Tom MacWright 3ec03e2526 Use d3.geo.tile in connection. Fixes #103 2012-12-04 12:36:44 -05:00
John Firebaugh 486be2c6fd Fix area/way dragging 2012-12-04 11:35:56 -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
Tom MacWright 2252d03746 Merge branch 'master' of github.com:systemed/iD 2012-12-03 18:42:13 -05:00
Tom MacWright 5254f06522 Implement megazooming 2012-12-03 18:41:44 -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 8a8d6fae32 Move responsibility for dispatching change event to history 2012-12-03 18:37:41 -05:00
John Firebaugh 0370b487e3 Inject history dependency in map 2012-12-03 18:37:41 -05:00
John Firebaugh 38958515d8 Clean up inspector setup 2012-12-03 18:37:41 -05:00
Tom MacWright 60941f701b Support way dragging. Fixes #45 2012-12-03 18:24:47 -05:00
Tom MacWright ad2fa599a0 Use clip-path again for tiles 2012-12-03 18:12:44 -05:00
Tom MacWright d7a7ce3d3f Remove stray console log 2012-12-03 17:12:47 -05:00
Tom MacWright 8401b1fd65 Merge branch 'master' of github.com:systemed/iD 2012-12-03 17:08:56 -05:00
Tom MacWright bd1a34153a First shot at way accuracy handles 2012-12-03 17:08:53 -05:00
John Firebaugh cb55cdafe2 Defer drag events until first move (fixes #105) 2012-12-03 16:56:43 -05:00
John Firebaugh 41548c25bf Restore map update event (fixes #167) 2012-12-03 15:59:05 -05:00
Tom MacWright 40fdbb0767 More reasonable limitations for min zoom, remove white borders 2012-12-03 12:48:39 -05:00
Tom MacWright b63c97673d Simpler, more accurate background positioning. Fixes #163 2012-12-03 11:10:36 -05:00
John Firebaugh 26ef972199 Restore map.surface
Fixes #166
2012-12-03 10:49:54 -05:00
Tom MacWright 7c7f64f41a d3 style and extra semicolon 2012-12-03 09:44:14 -05:00
John Firebaugh 2b1559bb96 d3 style map 2012-12-02 20:36:14 -05:00
John Firebaugh aeb288fe4e Test/fix hash 2012-12-02 20:33:42 -05:00
Tom MacWright e5bebc6175 Fixup oneways in firefox as best we can. Fixes #99 2012-12-02 15:43:44 -05:00
Tom MacWright 4f7d9460ae Build with oauth, use more chaining 2012-12-02 14:20:57 -05:00
John Firebaugh 28f8275526 Eliminate failing tile requests in specs 2012-12-01 14:56:16 -08:00
John Firebaugh e85c15adb4 Remove unused 2012-12-01 14:42:56 -08:00
John Firebaugh c1d9c94dbf More consistency 2012-12-01 14:41:10 -08:00
John Firebaugh bbdd4a7bcb d3 style map.extent() 2012-12-01 14:37:04 -08:00
John Firebaugh 8cfd0be2f8 d3 style map.zoom() 2012-12-01 14:30:24 -08:00
John Firebaugh 16c6cbd08b Rename tiles to background, make more d3ish 2012-12-01 08:45:11 -08:00
John Firebaugh 45270b55d2 d3 naming convention 2012-12-01 08:21:02 -08:00
John Firebaugh 96af626bd7 Add d3.selection.prototype.size 2012-12-01 08:16:50 -08:00
Tom MacWright 688b65fb87 Experiment with different style handles. 2012-11-30 18:06:36 -05:00
Tom MacWright fa2d04dfe7 Support other tilesets, xyz tiles, etc. Fixes #130 2012-11-30 17:25:48 -05:00
Tom MacWright bdf47e4a80 Firefox compatibility fixes, be more aware of problems in authentication 2012-11-30 15:59:16 -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 81a9349e82 Patch up tests, go to simpler map api 2012-11-29 15:36:33 -05:00
Tom MacWright c9e3297f3d Reduce repetition in map 2012-11-29 15:04:42 -05:00
Tom MacWright 9f43b6158e Simplify map 2012-11-29 14:46:27 -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 6ed368446e Don't use :hover, only redraw new ways, etc 2012-11-29 11:54:29 -05:00
Tom MacWright 946ab2c09e Properly remove popped node. Fixes #146 2012-11-29 10:33:52 -05:00
Tom MacWright abf2941425 Support removing nodes from ways 2012-11-29 10:10:14 -05:00
Tom MacWright 8a62aaa62a Use temporary elastic tag 2012-11-28 18:42:04 -05:00