Commit Graph

925 Commits

Author SHA1 Message Date
John Firebaugh
3000bc89ce shadow should be above fill
Makes it much easier to select lines that are within areas.
2013-02-03 08:49:43 -08:00
Ansis Brammanis
13b0b540a7 Don't snap to midpoints, snap to their parent way 2013-02-02 23:47:29 -05:00
John Firebaugh
441be74539 Simplify 2013-02-02 21:28:56 -05:00
John Firebaugh
33f5db4d96 Fix hash with selected id 2013-02-02 21:17:43 -05:00
John Firebaugh
0b3e0fb3db Use iD.actions.DeleteNode when removing nodes
They need to be removed from any parent relations.
Also, make sure to uniq child nodes, otherwise the
start/end node over-contributes to the centroid
calculation.

This action needs tests.
2013-02-02 21:17:10 -05:00
John Firebaugh
9e878b1cf9 Remove redundant conditional 2013-02-02 20:00:05 -05:00
John Firebaugh
b08722fd3f Pass just the projection to Circularize 2013-02-02 19:59:05 -05:00
John Firebaugh
80a5a083b0 Remove unused 2013-02-02 19:57:36 -05:00
John Firebaugh
ec602a7db7 Hook up connection and history in context 2013-02-02 19:47:56 -05:00
John Firebaugh
fc00f154a9 Dispatch a change event on merge 2013-02-02 19:47:56 -05:00
John Firebaugh
1de05b518d Select result when splitting or joining ways
Fixes #601.
Fixes #603.
2013-02-02 19:47:56 -05:00
John Firebaugh
11d723819d Difference#extantIDs 2013-02-02 19:47:56 -05:00
John Firebaugh
ddc5e324f6 Extract iD.Difference
iD.Difference represents the difference between two graphs.
It knows how to calculate the set of entities that were
created, modified, or deleted, and also contains the logic
for recursively extending a difference to the complete set
of entities that will require a redraw, taking into account
child and parent relationships.

Additionally, all history mutators now return a difference.
2013-02-02 19:47:56 -05:00
John Firebaugh
09dac581be Fix MoveWay mode (fixes #602) 2013-02-02 12:55:20 -05:00
Tom MacWright
3e404df339 Add more translations, opacity to brightness YOU WIN @ansis 2013-02-01 19:16:01 -05:00
John Firebaugh
f5036db978 Start iD.operations.Merge (#435)
It's currently limited to merging (joining) exactly two lines.

Fixes #370.
2013-02-01 17:32:33 -05:00
John Firebaugh
a8410be6eb iD.actions.Join 2013-02-01 17:31:32 -05:00
John Firebaugh
20730e5f1a Entity#mergeTags 2013-02-01 17:31:32 -05:00
John Firebaugh
9120f33aa7 ReverseWay -> Reverse 2013-02-01 17:31:32 -05:00
John Firebaugh
c86792a77b SplitWay -> Split 2013-02-01 17:31:32 -05:00
John Firebaugh
e1d5a0cb03 Unjoin -> Disconnect 2013-02-01 17:31:32 -05:00
Dr Ian
01e8f5f606 Convert tabs to spaces 2013-02-01 23:08:11 +01:00
Dr Ian
f4975447f8 Limit zoom to 19 if geocode bounding box too small 2013-02-01 23:05:47 +01:00
Dr Ian
839844de27 Convert tabs to spaces 2013-02-01 22:28:43 +01:00
Dr Ian
7bfdf4de1a Change search to use OSM Nominatim API 2013-02-01 22:23:30 +01:00
John Firebaugh
7235632a63 Update logic for multi-select 2013-02-01 15:13:44 -05:00
John Firebaugh
58fcf746a2 Delete multiple 2013-02-01 15:08:41 -05:00
John Firebaugh
7ba31f05d2 Support deleting relations 2013-02-01 14:48:11 -05:00
John Firebaugh
3da0e70c0f Shift-selection 2013-02-01 14:31:47 -05:00
John Firebaugh
ae8891c485 Unused vars 2013-02-01 14:31:47 -05:00
John Firebaugh
cdda561f69 Fix dev/live toggle 2013-02-01 13:39:49 -05:00
Tom MacWright
30bd46635f Merge branch 'master' of github.com:systemed/iD 2013-02-01 13:17:28 -05:00
Tom MacWright
175cdc553d Fix localStorage number of args in oauth 2013-02-01 13:17:19 -05:00
John Firebaugh
619216b33b Remove double dispatch 2013-02-01 13:13:32 -05:00
Tom MacWright
031c8d655e Fallback for browsers that do not support localStorage. Fixes #591 2013-02-01 13:12:46 -05:00
John Firebaugh
0bcb0520d8 Use iD.version 2013-02-01 12:46:01 -05:00
John Firebaugh
fe49e8fb77 Pass around context rather than map 2013-02-01 12:40:16 -05:00
John Firebaugh
6188d128f8 Arrange 2013-02-01 12:40:16 -05:00
John Firebaugh
a78aeeb625 Merge controller into iD 2013-02-01 12:40:15 -05:00
John Firebaugh
000ceb6467 iD.Context -> iD
All the UI setup code moved to iD.ui.
2013-02-01 12:40:15 -05:00
John Firebaugh
579d632563 Hoist functions up a scope 2013-02-01 12:40:15 -05:00
John Firebaugh
7e68e8e114 Add iD.Context
This is a facade interface that ties together a bunch of
different internal objects and will make it easier to write
tests for behaviors, modes, and operations.
2013-02-01 12:40:15 -05:00
Tom MacWright
ab7290a865 Fix re-requesting failed tiles. Fixes #594 2013-02-01 11:31:31 -05:00
Ansis Brammanis
559f3c9037 Remove unecessary line 2013-02-01 11:00:55 -05:00
John Firebaugh
9494d8d468 Remove unused 2013-02-01 10:47:40 -05:00
Saman Bemel-Benrud
5f8e7ec8cc Merge branch 'master' of github.com:systemed/iD 2013-01-31 19:20:32 -05:00
Saman Bemel-Benrud
dcfe8ac85b design pass on alignment toggles. 2013-01-31 19:20:13 -05:00
John Firebaugh
bbccec75be Convert Hash to a behavior 2013-01-31 18:28:24 -05:00
Ansis Brammanis
9cb0879818 Selecting implicitly sets data 2013-01-31 17:47:24 -05:00
Ansis Brammanis
b9d77a8de6 Set data on midpoint circles 2013-01-31 17:44:14 -05:00