Commit Graph

3190 Commits

Author SHA1 Message Date
Bryan Housel 7c50c01bd3 mapdata checkboxes should use features.enabled() 2014-10-29 16:06:41 -04:00
Bryan Housel b20f1495de restore toggle function and add test 2014-10-29 15:06:43 -04:00
Bryan Housel 927c533bb4 add feature tests for auto-hiding 2014-10-28 21:37:04 -04:00
Bryan Housel 43f1cdd3eb decoupled graph from context for better testing
fixed feature matching tests for vertices and relations
2014-10-28 21:37:04 -04:00
Bryan Housel 2b260f9a6c added tests for feature filtering
(some tests failing because I need to decouple graph from context)
2014-10-28 21:37:04 -04:00
Bryan Housel 6b6ca8d523 initial checkin of features unit tests 2014-10-28 21:37:04 -04:00
Bryan Housel d5ecd5d52d add deep equals to extent 2014-10-28 21:37:03 -04:00
Bryan Housel 7d9b267858 Show auto-hidden features as disabled checkboxes with tooltip
also rearrange map data panel to put features last
2014-10-28 21:37:03 -04:00
Bryan Housel 094db692ea Don't include hidden vertices in drawHover 2014-10-28 21:37:03 -04:00
Bryan Housel a085ce6dc8 Don't hide features that the user just created 2014-10-28 21:37:03 -04:00
Bryan Housel 9666af30c6 better point/building culling based on viewport size 2014-10-28 21:37:03 -04:00
samanpwbb 70e7987943 add data icon, fix button style 2014-10-28 21:37:02 -04:00
Bryan Housel da32150c4a Revert some of 2832041 because of Firefox pattern fill issues
Looks like styling the element is the only way to achieve this after all..
2014-10-28 21:37:02 -04:00
Bryan Housel e761414a15 'Rail' feature filter should not match if it is also a highway. 2014-10-28 21:37:02 -04:00
Bryan Housel dcc9812986 prevent most operations on things connected to hidden features.. 2014-10-28 21:37:02 -04:00
Bryan Housel 8a98339bc2 Add area fill selector (wireframe/partial/full) to map data panel
also:
* style dark tooltips with shortcut keys
* use uppercase for shortcut keys
2014-10-28 21:37:01 -04:00
Bryan Housel 7d5189f3b0 Area filling options: wireframe, partial, full..
* implemented as css classes on surface element
* patterned fills can be done with css too.. removed the
  code from areas.js to set patterned fill on each element)
* dummy test code in `map_data.js` uses 'w' key to toggle..
2014-10-28 21:37:01 -04:00
Bryan Housel 51cadd5b82 initial wireframe style (key 'w')
(also fix gpx layer, now on top of data, to not steal pointer events)
2014-10-28 21:37:01 -04:00
Bryan Housel 670c228fc7 put layer-gpx after layer-data
(closes #2352, #2335)
2014-10-28 21:37:01 -04:00
Bryan Housel 35e7474829 Rename Features to Map Data..
* move GPX and Mapillary layers to Map Data
* put feature filters and layer data into show/hide containers
* cleanup css
2014-10-28 21:37:01 -04:00
Bryan Housel 8fd177935d Feature filtering (in progress)
(rebased to master post-Mapillary merge)
2014-10-28 21:37:00 -04:00
Sajjad Anwar dab742a501 Make taginfo configurable and default to disabling taginfo related features 2014-10-24 16:26:37 -07:00
Bryan Housel b0841c1eda missing memo argument (fixes #2421) 2014-10-23 22:21:17 -04:00
John Firebaugh 004973faeb Simplify and improve documentation of areaKeys 2014-10-23 16:07:04 -07:00
Sajjad Anwar dffeedffc9 Moved area-keys to data, and process it during runtime 2014-10-23 15:52:29 -07:00
Aaron Lidman 90b0f1c5bf Select first available imagery layer 2014-10-23 15:52:29 -07:00
John Firebaugh dd0e08b244 Write presets and imagery to standalone files 2014-10-23 15:52:29 -07:00
John Firebaugh edd4f37f52 1.6.1 2014-10-23 15:25:20 -07:00
John Firebaugh eb9876c2de Use interpolation rather than concatenation 2014-10-22 11:16:37 -07:00
John Firebaugh 0b1a54acca Remember raw tag editor expansion state across sessions (fixes #2416) 2014-10-22 11:14:01 -07:00
Bryan Housel 712f533212 Translate text in changes section on save panel. (fixes #2417) 2014-10-22 10:27:59 -04:00
Martin Raifer 041e0e5b66 Encode everything except a whitelist of special chars
see #2406
2014-10-21 22:37:47 +02:00
John Firebaugh 4d2d24bbaa Need to encode = as well as & (fixes #2406) 2014-10-20 18:18:48 -07:00
John Firebaugh 15e0c0a235 Capture ⌘-S even in input fields (fixes #2409) 2014-10-20 17:55:12 -07:00
John Firebaugh a9964aaa1d Adjust width of state input 2014-10-20 17:19:13 -07:00
Jakub Wieczorek dfa442903d Improve the error message on saving when offline (fixes #2373) 2014-10-20 17:14:28 -07:00
Minh Nguyễn 8b896b8b84 maxlength="255" on commit comment textarea
Per API 0.6 limit. Fixes #2410.
2014-10-19 15:52:43 -07:00
Bryan Housel 8f5f63d5e9 Eliminate floating point error in zoomIn/zoomOut
(closes #2394)
2014-10-13 22:49:50 -04:00
John Firebaugh 241400faf9 Fix build 2014-10-13 16:55:15 -07:00
John Firebaugh 9a2054272c Fix build 2014-10-13 16:48:59 -07:00
John Firebaugh a7fb35663c Optimize Way#area 2014-10-13 16:46:32 -07:00
John Firebaugh 69af20e44d Add mutating extent extend, for performance 2014-10-13 16:34:38 -07:00
John Firebaugh 5f1e40561a Fix performance regressions in tree.js (fixes #2396) 2014-10-13 16:34:38 -07:00
Bryan Housel 5782761e48 support zoom in/out with shifted or unshifted keys +,-,=,_
also add new Firefox-specific keycodes to `d3.keybinding.js`
closes #2389
2014-10-12 00:43:39 -04:00
Guillaume Carbonneau 96fa48faad fix for the failures under safari/webkit 2014-10-09 16:29:11 -04:00
John Firebaugh 91699bb142 Suppress tail in walkthrough (fixes #2362) 2014-10-06 18:22:45 -07:00
John Firebaugh 4a51f6769b 1.6.0 2014-10-06 14:55:05 -07:00
John Firebaugh 0b1ec49402 Rewrite as a separate layer 2014-09-19 14:51:44 -07:00
samanpwbb 3c9ec76b33 add missing semicolons 2014-09-16 15:16:26 -04:00
samanpwbb e721e93a31 cleanup mapillary UI 2014-09-16 13:49:13 -04:00