Render embarkment/cutting with dashed casing

This commit is contained in:
Bryan Housel
2014-04-30 14:01:46 -04:00
parent 5bcd228f27
commit f3ee2664a1
2 changed files with 28 additions and 1 deletions

View File

@@ -738,6 +738,33 @@ path.casing.tag-highway-construction {
stroke-dasharray: 7, 7;
}
/* embankments / cuttings */
path.casing.tag-embankment,
path.casing.tag-cutting {
stroke-opacity: 0.5;
stroke: #000;
stroke-width: 22;
stroke-dasharray: 2, 4;
stroke-linecap: butt;
}
path.shadow.tag-embankment,
path.shadow.tag-cutting {
stroke-width: 28;
}
.low-zoom path.casing.tag-embankment,
.low-zoom path.casing.tag-cutting {
stroke-width: 10;
}
.low-zoom path.shadow.tag-embankment,
.low-zoom path.shadow.tag-cutting {
stroke-width: 14;
}
/* construction */
.low-zoom path.stroke.tag-highway-construction,

View File

@@ -5,7 +5,7 @@ iD.svg.TagClasses = function() {
'leisure', 'place'
],
secondary = [
'oneway', 'bridge', 'tunnel', 'construction'
'oneway', 'bridge', 'tunnel', 'construction', 'embankment', 'cutting'
],
tagClassRe = /^tag-/,
tags = function(entity) { return entity.tags; };