Commit Graph

958 Commits

Author SHA1 Message Date
Tom MacWright
e88508a123 Do not continue areas. Fixes #331 2013-01-08 13:48:18 -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
Tom MacWright
87169a898c Merge pull request #336 from ansis/tooltip-fix
Tooltip fix
2013-01-08 09:07:11 -08: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
Tom MacWright
2ce40c8ae5 Hide count when button has no count. Fixes #333 2013-01-08 10:41:50 -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
Tom MacWright
52312e28fd Fix relative positioned tooltips. Fixes #319 2013-01-07 18:15:02 -05:00
Tom MacWright
ed032be98f Detect, pass, and display errors. Fixes #124 2013-01-07 17:51:50 -05:00
Tom MacWright
f5e2eeff9e Merge branch 'user-icon' 2013-01-07 17:37:24 -05:00
Tom MacWright
87671bb3e9 Test for boundary condition 2013-01-07 17:37:07 -05:00
Tom MacWright
4657828552 Merge pull request #330 from systemed/user-icon
Parse and display user image if available. Fixes #174 and #329
2013-01-07 14:30:42 -08:00
Tom MacWright
e357033ed8 Parse and display user image if available. Fixes #174 and #329 2013-01-07 17:30:07 -05:00
Tom MacWright
077992f0df Links should not redirect this page ever. 2013-01-07 16:56:24 -05:00
Tom MacWright
9695205e92 Guard against Firefox bug around hidden elements. Fixes #328 2013-01-07 16:23:43 -05:00
John Firebaugh
15099ee517 Define Relation#geometry 2013-01-07 12:15:16 -08:00
Tom MacWright
2a60bca919 Make area fill white instead of red. Fixes #323 2013-01-07 13:19:13 -05:00
Tom MacWright
2b5986a752 Merge branch 'master' of github.com:systemed/iD 2013-01-07 13:10:12 -05:00
Tom MacWright
b5639b8b45 Style active buttons with the custom cursor.
Fixes #291
2013-01-07 13:09:54 -05:00
John Firebaugh
f8ea7d1e98 Fix accuracy handles 2013-01-07 10:08:07 -08:00
John Firebaugh
57122c8968 Don't focus an existing key, only a blank one 2013-01-07 10:03:41 -08:00
John Firebaugh
4b63823130 Use Entity#geometry() 2013-01-07 09:54:00 -08:00
Tom MacWright
00da444a33 Merge pull request #322 from systemed/inspector-intersect
Inspector intersect
2013-01-07 09:15:10 -08:00
Tom MacWright
de70e1e976 Pan the map for features that intersect with both edges 2013-01-07 12:14:37 -05:00
Tom MacWright
12beb14d07 Work on #250
Implement inspector without a collapsed mode and with semi-intelligent
detection of whether features will conflict with the position of the
inspector. Also adds a `centerEase` fn to the map object.
2013-01-07 11:51:04 -05:00
John Firebaugh
2d3ce6c125 Extract hover behavior 2013-01-07 08:34:37 -08:00
John Firebaugh
fb4b4fff57 Merge pull request #321 from mpetroff/fix-pointer
Fixed pointer cursor pointing position.
2013-01-07 08:33:40 -08:00
Matthew Petroff
7e7a4bf59f Fixed pointer cursor pointing position. 2013-01-07 11:25:37 -05:00
Saman Bemel-Benrud
a78b5925e4 styling change count. 2013-01-04 20:14:03 -05:00
Saman Bemel-Benrud
94b421cf16 adding big vertext icon. 2013-01-04 19:40:11 -05:00
Saman Bemel-Benrud
043ff0ccc6 Merge branch 'master' of github.com:systemed/iD 2013-01-04 19:28:27 -05:00
Tom MacWright
fb9052818d Fix global leaks 2013-01-04 17:44:39 -05:00
Tom MacWright
fdc64c232a Implement layer offset nudging. Fixes #292 2013-01-04 17:35:26 -05:00
Tom MacWright
e80ab9057b Adds geolocation for #157 2013-01-04 17:13:14 -05:00
Tom MacWright
39e93b5f42 Style save button counter 2013-01-04 16:33:33 -05:00
Tom MacWright
70de57b784 Merge branch 'save-indicator' 2013-01-04 16:21:31 -05:00
Tom MacWright
15319e2e82 Fix font of add tag button, fixes #314 2013-01-04 16:20:15 -05:00