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
Tom MacWright
62cdfdae2d
Update tests for taginfo change
2013-01-04 16:15:13 -05:00
Tom MacWright
b410fc196a
Update typeahead, fixing overlap issues. Fixes #309
2013-01-04 16:12:13 -05:00
Tom MacWright
50743b4344
Summarize unnamed and consecutive objects. Fixes #317
2013-01-04 15:11:48 -05:00
Tom MacWright
1107f7dc7f
Optimize calls, generation of accuracy handles
2013-01-04 14:43:47 -05:00
Tom MacWright
6475b1993b
Add MapBox Satellite layer. Fixes #318
2013-01-04 13:40:22 -05:00
Tom MacWright
88ff18b7ae
Be specific about opacity, this is a perf problem in FF
2013-01-04 13:12:58 -05:00
Tom MacWright
5671a73dba
Use groups and fill/strokes for all points except for accuracy handles.
...
Fixes #278
2013-01-04 12:59:06 -05:00
Tom MacWright
3f8a872d79
Double click to add detail to lines. Fixes #298
2013-01-04 12:36:23 -05:00
Tom MacWright
1c90441881
Do point hover scaling without r.
2013-01-04 12:05:20 -05:00
John Firebaugh
4a7bd26be8
Add 'Add Tag' button ( #314 ), needs style
...
Fixes #281 .
2013-01-03 23:16:34 -08:00
Tom MacWright
0cb5fbe227
Add success page. Fixes #126
2013-01-03 19:26:45 -05:00