diff --git a/js/iD/Connection.js b/js/iD/Connection.js index 882be26bb..509e0a722 100755 --- a/js/iD/Connection.js +++ b/js/iD/Connection.js @@ -50,7 +50,6 @@ iD.Connection = function() { role: elems[i].attributes.role.nodeValue }; } - return members; } diff --git a/js/iD/renderer/Map.js b/js/iD/renderer/Map.js index bd1636645..be9e9c23d 100755 --- a/js/iD/renderer/Map.js +++ b/js/iD/renderer/Map.js @@ -162,6 +162,14 @@ iD.Map = function(elem) { hit_g.selectAll('rect.handle').remove(); } + function hideFills() { + fill_g.selectAll('path').remove(); + } + + function hideMarkers() { + hit_g.selectAll('g.marker').remove(); + } + function drawFills(areas) { var fills = fill_g.selectAll('path').data(areas, key); fills.exit().remove(); @@ -378,6 +386,9 @@ iD.Map = function(elem) { if (fast) { if (!translateStart) translateStart = d3.event.translate.slice(); + hideHandles(); + hideFills(); + hideMarkers(); fastPan(d3.event.translate, translateStart); } else { redraw();