mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-31 12:19:31 +02:00
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.
This commit is contained in:
+1
-1
@@ -90,7 +90,7 @@
|
||||
filter = d3.functor(true),
|
||||
a = iD.Node({loc: [15, 15]}),
|
||||
b = iD.Node({loc: [185, 15]}),
|
||||
way = iD.Way({nodes: [a, b]}),
|
||||
way = iD.Way({nodes: [a.id, b.id]}),
|
||||
vertices = iD.svg.Vertices(projection),
|
||||
lines = iD.svg.Lines(projection),
|
||||
midpoints = iD.svg.Midpoints(projection);
|
||||
|
||||
Reference in New Issue
Block a user