mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-19 23:14:47 +02:00
Style for barriers (closes #2592)
This commit is contained in:
+13
@@ -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 */
|
||||
|
||||
|
||||
@@ -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; };
|
||||
|
||||
Reference in New Issue
Block a user