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
Tom MacWright
4a07c42d2b
Merge branch 'master' of github.com:systemed/iD
2013-02-06 15:51:52 -05:00
Tom MacWright
fbe3a41d57
Update tests for faux click events in more places.
2013-02-06 15:47:16 -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
Tom MacWright
0d70e466de
Add crazyegg, will remove at release
2013-02-06 14:37:04 -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
John Firebaugh
8bee68dfbd
Fix includes
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
3ada0f4080
Update make for tests
2013-02-05 12:57:10 -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
503872a400
Merge branch 'master' into dynamic-layers
2013-02-05 12:10:54 -05:00
Tom MacWright
d159b37ab6
Fix tests
2013-02-05 12:10:05 -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
Saman Bemel-Benrud
487cdb2515
Merge branch 'master' of github.com:systemed/iD
2013-02-05 11:07:14 -05:00
Ansis Brammanis
3576a99eb5
Always have delete as first op
2013-02-05 11:00:13 -05:00
Saman Bemel-Benrud
5ae623e133
Merge branch 'master' of github.com:systemed/iD
2013-02-05 11:00:02 -05:00
John Firebaugh
c37adc617f
Fix build
2013-02-05 07:30:58 -08:00
John Firebaugh
4cbdadfbbc
Fix undo of multipolygon deletion
2013-02-05 06:56:23 -08:00
Ansis Brammanis
d3d0851596
Fix svg/midpoint tests
...
Proper solution waiting on 369
2013-02-05 00:51:54 -05:00