diff --git a/css/map.css b/css/map.css index 3d8076e0d..d1b2914f3 100644 --- a/css/map.css +++ b/css/map.css @@ -803,6 +803,19 @@ path.casing.tag-boundary-national_park { stroke: #b0e298; } +/* barriers */ + +path.stroke.tag-barrier { + stroke: #ddd; + stroke-width: 3px; + stroke-linecap: round; + stroke-dasharray: 15, 5, 1, 5; +} +.low-zoom path.stroke.tag-barrier { + stroke-width: 2px; + stroke-linecap: butt; + stroke-dasharray: 8, 2, 2, 2; +} /* bridges */ diff --git a/js/id/svg/tag_classes.js b/js/id/svg/tag_classes.js index c3fb13298..f20928f75 100644 --- a/js/id/svg/tag_classes.js +++ b/js/id/svg/tag_classes.js @@ -5,7 +5,7 @@ iD.svg.TagClasses = function() { 'leisure', 'place' ], secondary = [ - 'oneway', 'bridge', 'tunnel', 'construction', 'embankment', 'cutting' + 'oneway', 'bridge', 'tunnel', 'construction', 'embankment', 'cutting', 'barrier' ], tagClassRe = /^tag-/, tags = function(entity) { return entity.tags; };