Distinguish between default and special service roads

Special service roads include things like
service=parking_aisle, drive-through, alley, etc
(closes #4157)
This commit is contained in:
Bryan Housel
2017-07-21 12:46:11 -04:00
parent fce4d36b95
commit af10c60e7c
2 changed files with 15 additions and 1 deletions
+14
View File
@@ -462,6 +462,20 @@ path.casing.tag-service {
stroke:#666;
}
/* with `service=* tag` (e.g. parking_aisle, alley, drive-through */
.preset-icon .icon.highway-service.tag-service {
color: #dcd9b9;
fill: #666;
}
path.stroke.tag-highway-service.tag-service,
path.stroke.tag-service.tag-service {
stroke: #dcd9b9;
}
path.casing.tag-highway-service.tag-service,
path.casing.tag-service.tag-service {
stroke: #666;
}
.preset-icon .icon.highway-track {
color: #eaeaea;
fill: #c5b59f;
+1 -1
View File
@@ -14,7 +14,7 @@ export function svgTagClasses() {
],
secondaries = [
'oneway', 'bridge', 'tunnel', 'embankment', 'cutting', 'barrier',
'surface', 'tracktype', 'crossing'
'surface', 'tracktype', 'crossing', 'service', 'sport'
],
tagClassRe = /^tag-/,
tags = function(entity) { return entity.tags; };