Commit Graph

3056 Commits

Author SHA1 Message Date
Bryan Housel 4f70731dfb Only render oneway markers that actually appear in the viewport
(motorways and rivers used to fill the DOM tree with a lot of crap!)
2014-05-31 03:23:31 -04:00
John Firebaugh 3e138bf16b 1.4.0 2014-05-29 16:09:54 -07:00
John Firebaugh cb2121b7c4 Don’t preventDefault on mousedown (fixes #2115)
This prevents blur events from getting properly dispatched.
2014-05-28 18:02:44 -07:00
John Firebaugh c30ba03606 Ensure combobox menus are closed on blur (fixes #2207)
See 7c20bd3 for explanation.
2014-05-28 17:37:31 -07:00
John Firebaugh 38b821bdea Limit imagery_used tag to 255 characters (fixes #2181) 2014-05-28 17:04:49 -07:00
John Firebaugh 0a83545a76 Simplify and fix midpoint drawing logic (fixes #2136) 2014-05-28 16:48:01 -07:00
John Firebaugh c0db8b8e67 jshint 2014-05-27 14:42:15 -07:00
John Firebaugh 0c09871c4a Don’t show turn restriction editor for non-highways (fixes #2240) 2014-05-27 14:35:57 -07:00
John Firebaugh e10bba980f Handle cases where current vertex disappears (fixes #2234) 2014-05-27 11:25:24 -07:00
Martin Raifer a796d4b1ea only check .isIntersection for nodes 2014-05-27 15:19:47 +02:00
Bryan Housel 89ac5f41db Merge pull request #2235 from bhousel/bhousel-fields
Allow checkbox fields to support custom strings
2014-05-23 22:16:14 -04:00
John Firebaugh fbd583eb76 Hide inspector when dragging (fixes #2229) 2014-05-23 18:03:13 -07:00
Bryan Housel 10bd86cb45 Check single source for implied onewayness #2220 2014-05-23 17:07:11 -04:00
Bryan Housel 40810dab04 Correctly trim whitespace in semicolon-separated multivalues #2236 2014-05-23 15:06:10 -04:00
Bryan Housel 1c3d0dacee Replace all matches, not just the first one.. 2014-05-23 15:04:35 -04:00
Bryan Housel 126f334c96 eliminate warning: 'context' is defined but never used 2014-05-23 14:57:52 -04:00
Bryan Housel 5fdbd6f9f4 Instead of using context.selectedIDs(), define a check.entity setter function 2014-05-23 11:27:27 -04:00
Bryan Housel 191c7002f4 Handle empty selectedIDs.. 2014-05-22 16:20:52 -04:00
Bryan Housel 8380981ac3 Pretend oneway field is a oneway_yes field if junction=roundabout is set. 2014-05-22 15:47:54 -04:00
Bryan Housel e3e2ea602a Checkmark fields now support custom string options
oneway fields now show "Assumed to be No" or "Assumed to be Yes" instead of "Unknown" #2220
2014-05-22 13:51:23 -04:00
John Firebaugh a2a4405ed8 Fix restriction type inference (fixes #2233) 2014-05-21 16:28:29 -07:00
John Firebaugh b77f9f3a78 Fix turn icon clipping 2014-05-21 15:08:38 -07:00
John Firebaugh ffee92cbd6 Fix U-turn icon 2014-05-21 15:05:41 -07:00
John Firebaugh 48dc768bbb Merge branch 'turn-restrictions' 2014-05-21 14:22:22 -07:00
John Firebaugh 4751c50a2e 1.3.10 2014-05-21 14:14:31 -07:00
Bryan Housel b8501bcf89 iD.Way.isOneWay should return false if oneway=no #2220
i.e. overrides implied oneway tag like `highway=motorway` or `junction=roundabout`
2014-05-20 00:14:23 -04:00
John Firebaugh 8b6ce214a2 Initial support for only_* restrictions 2014-05-19 15:53:46 -07:00
Bryan Housel a757142146 Rename "Entrance" as "Entrance/Exit" and add parking_entrance preset. 2014-05-19 15:39:16 -04:00
Bryan Housel 545183c721 Remove foot: yes placeholder for cycleway and bridleway #2221 2014-05-19 12:56:43 -04:00
Bryan Housel 429f20a450 Improve access tag placeholders #2221 2014-05-19 12:22:52 -04:00
John Firebaugh 3ac705b67e Fix flicker 2014-05-18 16:36:23 -07:00
John Firebaugh f811c19cdc Fix straight on restricting with splits 2014-05-18 16:02:53 -07:00
John Firebaugh 6089a6aaea Better solution for maintaining selection 2014-05-18 16:02:48 -07:00
John Firebaugh 243e86b277 Update selected segment after splits 2014-05-18 16:02:48 -07:00
John Firebaugh 9d5df793b5 Fix turn generation from ways that need splitting 2014-05-18 16:02:48 -07:00
John Firebaugh eaaff52d62 Help text 2014-05-18 16:02:48 -07:00
John Firebaugh 047fbb1282 Fix rendering when dragging intersection vertex 2014-05-18 16:02:48 -07:00
John Firebaugh 573237e94e Render U-turns 2014-05-18 16:02:48 -07:00
John Firebaugh d4d80b2d6e Use turn restriction icons 2014-05-18 16:02:48 -07:00
John Firebaugh 3d210ac3c1 Implement basic restriction toggling 2014-05-18 16:02:47 -07:00
John Firebaugh 15fb547bcc Let preset editor preserve field state
The turn restrictions field wants to have selected state.
2014-05-18 16:02:47 -07:00
John Firebaugh 26422d9c9a Show ways in restriction editor as if they were split 2014-05-18 16:02:47 -07:00
John Firebaugh 3b26e8d511 Show turn restriction editor for any intersection 2014-05-18 16:02:47 -07:00
John Firebaugh f39ae89177 Render turns of selected way 2014-05-18 16:02:47 -07:00
John Firebaugh 495fcc1b11 Include pick in lodash build 2014-05-18 16:02:47 -07:00
John Firebaugh 7cac179ce0 Start work on turn restriction editing field 2014-05-18 16:02:46 -07:00
John Firebaugh be0126aba6 Extract iD.svg.Defs from Surface
Need to have a single defs for the entire document but
multiple Surfaces.
2014-05-18 16:02:46 -07:00
John Firebaugh 90bc8dd70a Extract iD.geo.RawMercator 2014-05-18 16:02:46 -07:00
John Firebaugh 419d5f359f field.geometry is a string, not an array 2014-05-18 16:02:46 -07:00
John Firebaugh f5b29989f5 Deselect before deleting an entity
This avoids errors produced by attempts to generate turns for
ways that were just deleted.
2014-05-18 16:02:46 -07:00