Commit Graph

900 Commits

Author SHA1 Message Date
Brandon Liu 48d93f2f38 tag autocomplete can filter keys by element type. 2013-01-16 23:20:56 -08:00
Tom MacWright d8a587631b Fix TypeError from race condition between resetting and using
transforms.
2013-01-16 17:37:57 -05:00
Tom MacWright 1c757a7c20 Improve background cache logic. Fixes #411 2013-01-16 17:36:45 -05:00
Tom MacWright ad6de1437f Prevent typeahead from falling off length of list 2013-01-16 15:01:21 -05:00
Tom MacWright ef1af7a731 Only show tags that appear in greater than a percentage of cases. 2013-01-16 14:51:34 -05:00
Tom MacWright 140e6991ed Stack areas as well as ways. Fixes #409 2013-01-16 14:21:20 -05:00
Tom MacWright 6407fa464c Run intersection on difference changes, do not use compact. Fixes #334 2013-01-16 14:06:11 -05:00
Tom MacWright 0e9e14102e Cache fetch results, higher features limit 2013-01-16 13:54:53 -05:00
Tom MacWright 199584fbff Name drawing functions so we can profile them 2013-01-16 13:54:36 -05:00
Tom MacWright 8151b48d34 Request tiles at z15 rather than z16 2013-01-16 13:26:20 -05:00
Ansis Brammanis cb8dedf2c0 Fix element drag mousedown is listening to 2013-01-16 13:16:59 -05:00
Tom MacWright 8def2e0999 Remove style and references to it 2013-01-16 13:07:30 -05:00
Tom MacWright 6aae64bd62 Add waystack, fix bridge coloring 2013-01-16 13:06:01 -05:00
Tom MacWright 396896eec2 Merge branch 'master' of github.com:systemed/iD 2013-01-16 12:52:19 -05:00
Tom MacWright e3775844c8 Refactor lines, keep non-scoped fns out of scope 2013-01-16 12:52:06 -05:00
Ansis Brammanis a9de2500aa Fix undo right after drawing line or area 2013-01-16 12:43:29 -05:00
Tom MacWright 87c341d7e0 Fix jshint problems. 2013-01-16 12:39:35 -05:00
Ansis Brammanis a980695ee7 Avoid creating lines with < 2 nodes (or areas < 3) 2013-01-16 12:20:35 -05:00
Ansis Brammanis fc272199c7 Fix difference 2013-01-16 11:34:50 -05:00
Ansis Brammanis 0a1e16a319 Nodes with changed parents added to difference 2013-01-16 11:31:36 -05:00
Brandon Liu cc59b048e1 Fix reloading of tiles from API after save. 2013-01-15 23:06:58 -08:00
Tom MacWright b303cb796f Rename apply to close. Fixes #325 2013-01-15 18:31:52 -05:00
Ansis Brammanis 1a2b897d06 Fix closing inspector after delete 2013-01-15 17:23:00 -05:00
Ansis Brammanis 55ecf4d473 500ms debounce on typeahead taginfo calls 2013-01-15 13:34:15 -05:00
Ansis Brammanis 91a709685c draw_way only applies to currently selected way 2013-01-15 13:12:05 -05:00
Ansis Brammanis e35ac698a3 Fix notice display 2013-01-15 10:06:05 -05:00
Ansis Brammanis 754225aeb7 Autosave tags when closing inspector 2013-01-14 17:14:10 -05:00
Ansis Brammanis b18457f60b Fix leaking globals and add test case 2013-01-14 15:54:12 -05:00
Ansis Brammanis a0072bfa18 Add map.extent and use in geocoder 2013-01-14 15:36:52 -05:00
Tom MacWright 72afc6dcb9 Namespace UI components 2013-01-14 14:00:51 -05:00
Ansis Brammanis 1dc56aa73f Avoid aborting and re-requesting still wanted reqs 2013-01-14 12:12:59 -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
Tom MacWright 2f1e219d64 jshint tweak 2013-01-14 10:18:22 -05:00
Ansis Brammanis fcc981db60 Exit select mode if entity gets undone 2013-01-14 10:13:50 -05:00
John Firebaugh 1d707b0eb2 Match inners with outers
After thinking about how the `evenodd` fill rule works, I pretty sure
we don't actually need to do this. If I'm right, I'll back it out, and
it will be in the history if we need it for some other purpose.
2013-01-13 18:17:16 -08:00
John Firebaugh 5089e2370b Point-in-polygon algorithm
No tests. I didn't write it so I assume it's correct!
2013-01-13 17:20:04 -08:00
John Firebaugh 67c8e287cf Start on multipolygon reconstruction algorithm 2013-01-13 17:20:04 -08:00
Ansis Brammanis ac8c12e7eb Remove double-undo when exiting drawLine mode 2013-01-13 19:55:08 -05:00
Ansis Brammanis 7c7121d1ea Flash message for no geocoder results 2013-01-12 18:09:01 -05:00
John Firebaugh e93f860c4c r -> l for Add Line, fixes #377 2013-01-12 11:30:39 -08:00
John Firebaugh ddaca08fb1 Clean up parentWays, apply same algorithm to relations 2013-01-12 11:03:45 -08:00
John Firebaugh 6e044f3607 Store flag on _parentWays itself, fixes #392
Relying here on the fact that `calculated` will never
collide with an actual entity ID.
2013-01-12 10:55:18 -08:00
Ansis Brammanis bb65916e06 Fix careless naming, fixing node dragging 2013-01-12 02:15:33 -05:00
Tom MacWright cbe41f16d5 Do not output invalid linestrings. Fixes #360
Though switching back to geo paths with fill this even more.
2013-01-12 01:38:29 -05:00
Tom MacWright f9f1436007 Pixel-determined midpoints.
betting that computation is better than tons of svg elements
2013-01-12 01:33:13 -05:00
Tom MacWright 165aa9d488 Faster string building, do not change value if not different. Fixes #390 2013-01-12 01:12:19 -05:00
Tom MacWright 11db79d37b Silly svg 2013-01-12 01:04:10 -05:00
Tom MacWright 8e17841c07 Make tag classes functions non-anonymous 2013-01-12 00:50:21 -05:00
Tom MacWright 0d6e87a217 Merge pull request #388 from systemed/parentways
More efficient graph.parentWays
2013-01-11 21:39:50 -08:00