Tom MacWright
4ee620cb09
Namespace selectors to iD-owned elements
2013-02-04 12:23:46 -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
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
619216b33b
Remove double dispatch
2013-02-01 13:13:32 -05:00
John Firebaugh
fe49e8fb77
Pass around context rather than map
2013-02-01 12:40:16 -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
John Firebaugh
bbccec75be
Convert Hash to a behavior
2013-01-31 18:28:24 -05:00
John Firebaugh
402a9424c0
Make selection an array of entity IDs
...
Should have no visible effect yet.
2013-01-31 13:51:12 -05:00
John Firebaugh
3bdd314eb8
Fix global leak
2013-01-31 12:42:37 -05:00
John Firebaugh
2655810efe
Remove unused parameter
2013-01-31 12:06:21 -05:00
Ansis Brammanis
f0414f7ca1
Fix call to flash
2013-01-31 11:17:32 -05:00
Tom MacWright
ca82bf989d
Merge branch 'master' of github.com:systemed/iD
2013-01-31 11:02:51 -05:00
Tom MacWright
2c2efe3b65
Background refinements. Fixes #561 , fixes #456
2013-01-31 11:02:41 -05:00
Ansis Brammanis
5c1d3cc18e
Preserve label tree between partial redraws
2013-01-31 10:34:57 -05:00
Ansis Brammanis
35cefceba6
Fix partial redraws
2013-01-30 17:43:14 -05:00
Ansis Brammanis
b73d18cbf5
Merge remote-tracking branch 'systemed/master' into graph-perf2
2013-01-30 16:58:44 -05:00
John Firebaugh
e4c513ae87
midpoint = true -> type = 'midpoint'
...
Makes it more consistent with entities.
2013-01-30 16:24:33 -05:00
Ansis Brammanis
2fa48df9a1
Small parentWays, parentRelations perf improvements
2013-01-30 16:09:15 -05:00
Ansis Brammanis
1b5a1b8268
Merge takes an entities object, not graph
2013-01-30 14:20:39 -05:00
Tom MacWright
699041019f
Pan map when dragging to pad. Fixes #534
2013-01-29 17:02:56 -05:00
Ansis Brammanis
6c1e4e5b4d
Working more-efficient parentWays
2013-01-29 13:32:39 -05:00
Ansis Brammanis
7d32af5264
work towards using prototypes for entities
2013-01-29 12:49:00 -05:00
John Firebaugh
3c99d36a76
Fix differenced redraw artifacts during pan/zoom
...
Fixes #543 .
2013-01-28 16:55:30 -05:00
Ansis Brammanis
1d4c04c334
Slightly smarter line label placement
2013-01-28 12:10:25 -05:00
Tom MacWright
50b997599d
Fix shared-midpoint dragging. Fixes #432
2013-01-27 16:54:34 -05:00
John Firebaugh
5ea855e18d
Replace Graph#fetch with Graph#childNodes
...
Having two kinds of Ways (fetched and non-fetched)
introduced some accidental complexity. This brings things
more in line with how parentWays/parentRelations work.
Fixes #73 .
2013-01-25 15:10:44 -05:00
Ansis Brammanis
da41235b94
Fixes #471 , slight panning after selecting
2013-01-25 10:32:03 -05:00
John Firebaugh
454cf0b16c
Close menu on map move ( fixes #482 )
2013-01-24 19:07:05 -05:00
Ansis Brammanis
6017b9b752
Fix opera dragging
2013-01-24 18:37:24 -05:00
Tom MacWright
33c541e926
Fix upTile loading
2013-01-24 18:06:54 -05:00
Tom MacWright
b6fd9cf990
Prevent user dragging
2013-01-24 17:50:08 -05:00
Tom MacWright
2527d57404
Simple map-tail minimalism. Fixes #467
2013-01-24 17:26:52 -05:00
John Firebaugh
18c7267010
Extract Draw behavior
...
Fixed some bugs but introduced others.
2013-01-24 17:00:48 -05:00
Ansis Brammanis
ec72fb39cd
Pass dimensions to d3.geo.tile
2013-01-24 12:34:39 -05:00
Tom MacWright
29577f7645
Fix loading inflight requests and clearing history when you switch
...
sources
2013-01-24 10:28:05 -05:00
Tom MacWright
2b4b8cb5fe
Merge pull request #468 from systemed/labels
...
Labels
2013-01-23 16:21:01 -08:00
John Firebaugh
1eedbecee4
Disable edit modes when zoomed out ( fixes #473 )
2013-01-23 18:59:04 -05:00
John Firebaugh
5eabb931ff
Namespace events
...
Fixes an issue where cursor sometimes stopped working.
2013-01-23 18:24:16 -05:00
Ansis Brammanis
3a48016e5f
Merge remote-tracking branch 'systemed/master' into labels
...
Conflicts:
js/id/util.js
2013-01-23 16:15:29 -05:00
Tom MacWright
5c65af512d
Test and fixup centerEase
2013-01-23 11:35:31 -05:00
Tom MacWright
df06148355
Look farther up for up tiles
2013-01-22 18:56:09 -05:00
John Firebaugh
c263ebd4dc
iD.util.geo => iD.geo
2013-01-22 18:20:20 -05:00
Ansis Brammanis
66c0a08d00
Merge remote-tracking branch 'systemed/master' into labels
...
Conflicts:
js/id/renderer/map.js
2013-01-22 14:55:15 -05:00
John Firebaugh
ff15aa8e7b
Rewrite d3.keybinding
...
A keybinding now represents a set of key commands that can
be unbound as a set. Multiple keybindings are possible, and,
providing a namespace is provided to the constructor, will
not conflict with each other.
Also, key combination strings such as ⌘+A are now supported.
2013-01-22 14:55:08 -05:00
Tom MacWright
6f73ae48d7
Fix global leak
2013-01-22 14:49:28 -05:00
Tom MacWright
64445e50ac
Slow and fast redraw
2013-01-22 14:17:27 -05:00
Tom MacWright
748b597c84
Fast zooming based on transforms.
...
* Replaces the mouseup-tranformStart method with a redraw debouced by 1/5s
2013-01-22 12:23:51 -05:00