Commit Graph

815 Commits

Author SHA1 Message Date
Ansis Brammanis bc53ae457e Fix undo while drawing 2013-01-09 17:44:20 -05:00
Ansis Brammanis f489117e5b highlight way or node that will be connected to 2013-01-09 17:22:08 -05:00
Ansis Brammanis 1eb5744b8d Make vertex tag edits show up in inspector 2013-01-09 16:45:03 -05:00
Tom MacWright e781c02863 Warn before leaving when you have changes. Fixes #341 2013-01-09 16:18:19 -05:00
Tom MacWright 11b3d0d24c Fix #351 2013-01-09 14:57:42 -05:00
Tom MacWright eedc0fce9d Fast parent calculation. 2013-01-09 14:52:39 -05:00
Tom MacWright 850e7d6568 Optimize difference and parentWays 2013-01-09 13:45:04 -05:00
Tom MacWright 2ac84eef21 Add flash 2013-01-09 13:13:45 -05:00
Tom MacWright 27a02ed5f5 View on osm in new page 2013-01-09 13:07:23 -05:00
Tom MacWright 9fde54c2c7 Inline image css to fix selector perf, was about 3% 2013-01-09 12:53:01 -05:00
Tom MacWright 7d705b4bd5 Restyle notice and move responsibility for it outside of the map. Fixes #131 2013-01-09 12:40:17 -05:00
Tom MacWright 31d6966296 Do not redefine mod in inspector, fixes jshint 2013-01-09 11:40:17 -05:00
Tom MacWright 44eeeeebaa Quick flash of no-docs for non-documented tag pairs. Fixes #340 2013-01-09 11:38:45 -05:00
Tom MacWright 3b5f6dd8bd Support images from the wiki, adds d3.jsonp extension. 2013-01-09 11:31:53 -05:00
Tom MacWright a293691643 Move taginfo into service 2013-01-09 10:29:42 -05:00
Ansis Brammanis 4121682602 Set if-unused="true" on deleted node 2013-01-08 20:24:28 -05:00
Ansis Brammanis 57c0504dac Fix right click on map from propagating 2013-01-08 18:37:51 -05:00
Tom MacWright dd26286b2f Links to the wiki should not redirect the page 2013-01-08 16:59:04 -05:00
Tom MacWright 2079918e8f Fix for deleting elements 2013-01-08 16:52:00 -05:00
Ansis Brammanis 11232c080f Merge branch 'master' of github.com:systemed/iD 2013-01-08 16:41:00 -05:00
Ansis Brammanis 97bc2429dc Update background source for history 2013-01-08 16:26:28 -05:00
Tom MacWright b244d37368 Fix bad typeof 2013-01-08 16:10:57 -05:00
Tom MacWright 9fc05f5e35 Zoom-dependent styles, optimize difference algorithm. 2013-01-08 16:07:16 -05:00
Ansis Brammanis fe634f4f9f Tag commits with imagery used 2013-01-08 16:04:31 -05:00
Tom MacWright 4347b134de Optimize difference 2013-01-08 15:33:29 -05:00
Tom MacWright 2f8454e50e Add close button to modal 2013-01-08 15:33:22 -05:00
Tom MacWright 9014886e18 Use HTTPS when oauth is not overriden. Fixes #326 2013-01-08 14:58:52 -05:00
Tom MacWright 8f194e717e Fix regression around styles. Fixes #339 2013-01-08 14:58:22 -05:00
Tom MacWright 2fc2d835ea Revert "Do not continue areas. Fixes #331"
This reverts commit e88508a123.
2013-01-08 13:53:34 -05:00
Tom MacWright 2e1ef585d4 Merge branch 'master' of github.com:systemed/iD 2013-01-08 13:48:37 -05:00
Tom MacWright e88508a123 Do not continue areas. Fixes #331 2013-01-08 13:48:18 -05:00
Ansis Brammanis 9e2aca706c Merge branch 'master' of github.com:systemed/iD 2013-01-08 13:02:38 -05:00
Ansis Brammanis 8dc848e2a6 make bottom info css flexible 2013-01-08 13:01:24 -05:00
Tom MacWright 4d3de28891 Merge pull request #337 from systemed/update-attribution
Update attribution when background changes
2013-01-08 09:29:14 -08:00
Tom MacWright 80fc009497 Strict test against correct values 2013-01-08 12:28:48 -05:00
Ansis Brammanis 7d19dca582 Merge branch 'master' of github.com:systemed/iD into update-attribution 2013-01-08 12:23:08 -05:00
Tom MacWright b1c1844941 jshint touchups 2013-01-08 12:21:53 -05:00
Ansis Brammanis 1e12062f16 Update attribution when background layer changes 2013-01-08 12:21:38 -05:00
Tom MacWright 85c8bdf0ff Refactor geolocate control 2013-01-08 12:14:05 -05:00
Ansis Brammanis cf5910d991 Merge branch 'master' of github.com:ansis/iD into tooltip-fix 2013-01-08 12:03:09 -05:00
Ansis Brammanis 6e5fbc0e4a Hide and refresh undo tooltips as needed 2013-01-08 11:59:13 -05:00
Tom MacWright c4e88ad8e9 Add more explanatory helptext 2013-01-08 11:56:40 -05:00
Tom MacWright 32dad42ec4 Refactor contributor listing into ui component, hide it when none are
around.
2013-01-08 11:38:59 -05:00
Tom MacWright 8f6fcc0a4d Filter taginfo suggestions to make them more accurate. Fixes #327 2013-01-08 11:06:24 -05:00
John Firebaugh e5d79d5270 Fix various line and area drawing bugs
The way and vertex being drawn get an `active` class,
which can be used to hide the vertex and set
`pointer-events: none` on the line.

Use the correct cursors when connecting (fixes #293).

Splice into existing lines at the correct index and
location (fixes #246).
2013-01-07 21:58:01 -08:00
John Firebaugh f8e2dfb9ce Preserve existing non-tag classes 2013-01-07 21:33:35 -08:00
John Firebaugh b6beed5606 Prefix tag classes with tag-
When re-rendering, existing non-tag-related classes
such as `selected`, `active`, `hover`, etc. should be
preserved. Without a prefix, it's difficult to
distinguish them from tag classes.
2013-01-07 19:47:56 -08:00
John Firebaugh ec0ca2a2da 'started a road' -> 'started a line' 2013-01-07 17:08:11 -08:00
John Firebaugh bcb4de4305 Reverse directional tags and roles when reversing a way
Reverse known direction dependent tags other than `oneway`.
We assume that correcting a backwards oneway is the primary
reason for reversing a way.

The following transforms are performed:

Keys:
      *:right=* ⟺ *:left=*
    *:forward=* ⟺ *:backward=*
   direction=up ⟺ direction=down
     incline=up ⟺ incline=down
        *=right ⟺ *=left

Relation members:
   role=forward ⟺ role=backward

In addition, numeric-valued `incline` tags are negated.

The JOSM implementation was used as a guide, but transformations that 
were of unclear benefit or adjusted tags that don't seem to be used
in practice were omitted.

References:
   http://wiki.openstreetmap.org/wiki/Forward_%26_backward,_left_%26_right
   http://wiki.openstreetmap.org/wiki/Key:direction#Steps
   http://wiki.openstreetmap.org/wiki/Key:incline
   http://wiki.openstreetmap.org/wiki/Route#Members
   http://josm.openstreetmap.de/browser/josm/trunk/src/org/openstreetmap/josm/corrector/ReverseWayTagCorrector.java

Fixes #299.
2013-01-07 16:26:56 -08:00
Tom MacWright d4af1032a3 Clear inspector when closed 2013-01-07 18:28:52 -05:00