Commit Graph

3428 Commits

Author SHA1 Message Date
Tom MacWright
4b5dcd054e Fix sourcetag regression 2013-02-06 17:34:41 -05:00
John Firebaugh
f6e726bcd6 Join should run Reverse where necessary (fixes #652) 2013-02-06 14:31:11 -08:00
Tom MacWright
e868c071ac Remove more unreliable or slow layers, select the right layer initially,
fix null tooltips
2013-02-06 17:16:00 -05:00
John Firebaugh
bd8c9d6a00 Support merging points into an area (#435) 2013-02-06 13:42:34 -08:00
John Firebaugh
d7639acb22 Set up iD.actions.Join to be more flexible 2013-02-06 13:42:34 -08:00
John Firebaugh
53ed9df2b7 A no-op Graph#replace should not create a new graph
This is useful for reducing graph churn.
2013-02-06 13:42:34 -08:00
John Firebaugh
b62f106be8 Extract Relation#replaceMember 2013-02-06 13:42:34 -08:00
Tom MacWright
d89968d30d Add discard tags action 2013-02-06 16:23:06 -05:00
Tom MacWright
3440f4254d Discard tags 2013-02-06 16:22:39 -05:00
Ansis Brammanis
83224d0f87 imagery_used includes full custom template 2013-02-06 15:38:20 -05:00
Tom MacWright
b11e50048e Merge branch 'master' of github.com:systemed/iD 2013-02-06 15:09:51 -05:00
Tom MacWright
a9632a2c7a Do not trigger radial on double click 2013-02-06 15:09:40 -05:00
Ansis Brammanis
0acab34054 Draw click event triggered by click instead of up 2013-02-06 15:06:50 -05:00
Ansis Brammanis
449c4d235d Add option to restore or reset unsaved changes 2013-02-06 14:03:31 -05:00
Ansis Brammanis
a21da4f15f Saving graph to and reinstating from localStorage 2013-02-06 12:48:42 -05:00
Ansis Brammanis
a4bf7c689f Merge DragNode and DragMidpoint
Adds shared behaviors such as snapping to DragMidpoint
2013-02-06 10:49:58 -05:00
John Firebaugh
4dbd8f5efc Fix #634 2013-02-05 16:25:33 -08:00
Tom MacWright
42f2cebab3 Merge branch 'master' of github.com:systemed/iD 2013-02-05 19:09:42 -05:00
Tom MacWright
8f17628190 Support nudging while moving ways. Fixes #533 2013-02-05 19:09:22 -05:00
Ansis Brammanis
14fc1d9c0d Fix flickering after redrawing active elems 2013-02-05 18:47:28 -05:00
John Firebaugh
5eb0644242 Improve multipolygon rendering
Multipolygon relations report their geometry as 'area' and are rendered
as such. However, they do not render a stroke. The stroke rendering
will come from the individual lines, which are given the tag
classes of their parent relations, allowing them to have a stroke
style matching the style of simple areas with the same tags.

Untagged circular ways are no longer considered areas. This prevents
an untagged inner way of a multipolygon from rendering as an area and
is consistent with how P2 and JOSM treat them.

In the CSS, it's no longer necessary to deal with multipolygons
explicitly in selectors. But keep in mind that area boundaries can
now be rendered either as lines or as area strokes. In most cases
the selector should be `path.stroke.tag-_____`, i.e. an explicit
`.area` or `.line` classes should not be included.

Finally, the parent ways of selected multipolygons are given the 'selected'
class.
2013-02-05 15:20:11 -08:00
John Firebaugh
13a784bea5 Better Way#asGeoJSON 2013-02-05 15:20:11 -08:00
John Firebaugh
8735413974 Relation#asGeoJSON 2013-02-05 15:20:11 -08:00
John Firebaugh
72cd6b91fa Relation#multipolygon returns coordinate arrays 2013-02-05 15:20:11 -08:00
Tom MacWright
356fd6edd5 Back off on replacing the location to 1/5 of previous throttle 2013-02-05 17:59:26 -05:00
Tom MacWright
f12b7d0fca Console... 2013-02-05 17:52:42 -05:00
Tom MacWright
930ed89229 Don't trim the cache. Should be fine. Probably. 2013-02-05 17:49:45 -05:00
Tom MacWright
3d13e25d41 Merge pull request #639 from systemed/faux-click
Faux click
2013-02-05 13:02:07 -08:00
Tom MacWright
4b76b136fa Fix tests for faux click 2013-02-05 15:58:54 -05:00
Tom MacWright
4a024651b4 Allow long clicks 2013-02-05 15:44:50 -05:00
Tom MacWright
9743fdf477 Up the radius tolerance to 12px 2013-02-05 15:41:56 -05:00
Tom MacWright
0e0ca2382e Half-second 2013-02-05 15:40:23 -05:00
Tom MacWright
f65803d99f Make restriction both space and time 2013-02-05 15:39:58 -05:00
Tom MacWright
67632d638f Soft clicking. Feels pretty nice. Refs #530 2013-02-05 15:27:02 -05:00
Ansis Brammanis
bc6238c2be Use AddMidpoint when doubleclicking on way 2013-02-05 14:52:05 -05:00
Ansis Brammanis
2d4f477265 dblclick a shared way adds vertex to all ways 2013-02-05 14:11:03 -05:00
Ansis Brammanis
7086012b98 Source oneway arrow styles from css 2013-02-05 13:05:12 -05:00
Tom MacWright
f70c9037b0 Fix tests, finish work here. Needs a design hit. 2013-02-05 12:52:56 -05:00
John Firebaugh
675c39187c Fix point dragging 2013-02-05 09:27:16 -08:00
Ansis Brammanis
0cc2d62985 Update onway arrow font size 2013-02-05 12:14:37 -05:00
Tom MacWright
8f2157425c Merge branch 'master' into dynamic-layers 2013-02-05 12:03:27 -05:00
Tom MacWright
db7f42145e Continue removing any non-scoped selectors. Refs #595
Last hits will be combobox and layerswitcher.
2013-02-05 12:00:10 -05:00
Ansis Brammanis
3576a99eb5 Always have delete as first op 2013-02-05 11:00:13 -05:00
Ansis Brammanis
915bcf7826 Fix drawing, leaking globals 2013-02-05 00:41:07 -05:00
John Firebaugh
c9fb1444db Connect via drag and drop
Fixes #598.
2013-02-04 16:48:54 -08:00
John Firebaugh
73098d259e Specify type for relation member 2013-02-04 16:48:40 -08:00
Tom MacWright
4d0a42344d Start dynamic layers work in branch 2013-02-04 19:47:25 -05:00
Saman Bemel-Benrud
00da90cf36 Merge branch 'master' of github.com:systemed/iD 2013-02-04 19:37:31 -05:00
Saman Bemel-Benrud
5764012b23 better styles for map features. 2013-02-04 19:37:10 -05:00
Ansis Brammanis
ab7c1fa80a Fix midpoint hiding. really 2013-02-04 18:32:16 -05:00