mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 09:12:52 +00:00
Render embarkment/cutting with dashed casing
This commit is contained in:
27
css/map.css
27
css/map.css
@@ -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,
|
||||
|
||||
@@ -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; };
|
||||
|
||||
Reference in New Issue
Block a user