Fix styles for several aeroway, highway, railway areas

Style railway=platform like sidewalks
(closes #4167)
This commit is contained in:
Bryan Housel
2017-07-21 00:54:14 -04:00
parent 3464a46df6
commit e55f680d33
3 changed files with 49 additions and 15 deletions
+3 -2
View File
@@ -13,10 +13,11 @@ path.stroke.tag-highway {
/* highway areas */
path.stroke.area.tag-highway {
path.stroke.area.tag-highway,
.low-zoom path.stroke.area.tag-highway {
stroke: #fff;
stroke-dasharray: none;
stroke-width: 2;
stroke-width: 1;
}
/* wide highways */
+4 -3
View File
@@ -1,10 +1,11 @@
/* aeroways */
/* areas */
path.stroke.area.tag-aeroway {
stroke:#fff;
path.stroke.area.tag-aeroway,
.low-zoom path.stroke.area.tag-aeroway {
stroke: #fff;
stroke-dasharray: none;
stroke-width: 2;
stroke-width: 1;
}
/* narrow aeroways (taxiway) */
+42 -10
View File
@@ -9,6 +9,20 @@
fill: #eee;
}
/* railway areas */
path.stroke.area.tag-railway,
.low-zoom path.stroke.area.tag-railway {
stroke: white;
stroke-width: 1;
stroke-dasharray: none;
}
path.casing.area.tag-railway,
.low-zoom path.casing.area.tag-railway {
stroke: none;
}
/* narrow widths */
path.shadow.tag-railway {
@@ -70,21 +84,39 @@ path.stroke.tag-railway-subway {
}
/* railway platforms - like sidewalks */
path.shadow.tag-railway-platform {
stroke-width: 16;
}
path.casing.tag-railway-platform {
stroke: none;
stroke: #fff;
stroke-width: 5;
stroke-linecap: round;
stroke-dasharray: none;
}
path.stroke.tag-railway-platform {
stroke: #999;
stroke-width: 4;
stroke-dasharray: none;
stroke: #ae8681;
stroke-width: 3;
stroke-linecap: butt;
stroke-dasharray: 6, 6;
}
.area.stroke.tag-railway {
stroke: white;
.low-zoom path.shadow.tag-railway-platform {
stroke-width: 12;
}
.low-zoom path.casing.tag-railway-platform {
stroke-width: 3;
}
.low-zoom path.stroke.tag-railway-platform {
stroke-width: 1;
stroke-dasharray: none;
stroke-linecap: butt;
stroke-dasharray: 3, 3;
}
.area.casing.tag-railway {
stroke: none;
g.midpoint.tag-railway-platform .fill {
fill: #fff;
stroke: #333;
stroke-opacity: .8;
opacity: .8;
}