mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-26 23:43:46 +00:00
Set data on midpoint circles
This commit is contained in:
@@ -47,6 +47,9 @@ iD.svg.Midpoints = function(projection) {
|
||||
|
||||
groups.attr('transform', iD.svg.PointTransform(projection));
|
||||
|
||||
groups.selectAll('circle')
|
||||
.data(_.values(midpoints), function (d) { return d.id; });
|
||||
|
||||
groups.exit()
|
||||
.remove();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user