Style for barriers (closes #2592)

This commit is contained in:
Bryan Housel
2015-04-21 11:41:45 -04:00
parent aa24891428
commit 61bfc1d993
2 changed files with 14 additions and 1 deletions
+13
View File
@@ -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 */
+1 -1
View File
@@ -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; };