diff --git a/js/id/svg.js b/js/id/svg.js index a4488cd33..a74b56986 100644 --- a/js/id/svg.js +++ b/js/id/svg.js @@ -56,7 +56,9 @@ iD.svg = { coordinates: coordinates }, projection.stream({ lineStart: function() {}, - lineEnd: function() {}, + lineEnd: function() { + a = null; + }, point: function(x, y) { b = [x, y];