diff --git a/css/map.css b/css/map.css index 910050010..d4cb0eb21 100644 --- a/css/map.css +++ b/css/map.css @@ -229,6 +229,11 @@ path.area.fill { fill-rule: evenodd; } +path.line.stroke { + stroke: white; + stroke-width: 2; +} + path.stroke.tag-natural { stroke: #b6e199; stroke-width:1; diff --git a/js/id/modes/add_line.js b/js/id/modes/add_line.js index ae1d03cef..ef5a43c0d 100644 --- a/js/id/modes/add_line.js +++ b/js/id/modes/add_line.js @@ -10,13 +10,12 @@ iD.modes.AddLine = function(context) { var behavior = iD.behavior.AddWay(context) .on('start', start) .on('startFromWay', startFromWay) - .on('startFromNode', startFromNode), - defaultTags = {highway: 'residential'}; + .on('startFromNode', startFromNode); function start(loc) { var graph = context.graph(), node = iD.Node({loc: loc}), - way = iD.Way({tags: defaultTags}); + way = iD.Way(); context.perform( iD.actions.AddEntity(node), @@ -29,7 +28,7 @@ iD.modes.AddLine = function(context) { function startFromWay(other, loc, index) { var graph = context.graph(), node = iD.Node({loc: loc}), - way = iD.Way({tags: defaultTags}); + way = iD.Way(); context.perform( iD.actions.AddEntity(node), @@ -52,7 +51,7 @@ iD.modes.AddLine = function(context) { context.enter(iD.modes.DrawLine(context, parent.id, 'forward', graph)); } else { - var way = iD.Way({tags: defaultTags}); + var way = iD.Way(); context.perform( iD.actions.AddEntity(way),