-
Notifications
You must be signed in to change notification settings - Fork 6
/
hwy.mss
156 lines (155 loc) · 4.31 KB
/
hwy.mss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
#rail[zoom > 7] {
::line {
line-color: #c8beb7;
[zoom > 7] { line-width: 0.4; }
[zoom > 9] { line-width: 0.6; }
[zoom > 11] { line-width: 0.8; }
[zoom > 13] { line-width: 1.0; }
[zoom > 15] { line-width: 1.2; }
[zoom > 17] { line-width: 1.4; }
}
::dash[zoom > 11] {
line-color: #c8beb7;
line-dasharray: 1,19;
[zoom > 11] { line-width: 2; }
[zoom > 13] { line-width: 2.5; }
[zoom > 15] { line-width: 3; }
[zoom > 17] { line-width: 4; }
}
}
#hwy[zoom > 5] {
line-color: #9393ac;
line-width: 0;
line-join: round;
line-cap: square;
// Fade out limited-access roads
[access = 'delivery'],
[access = 'destination'],
[access = 'emergency'],
[access = 'no'],
[access = 'private'] {
line-opacity: 0.5;
}
// Dash styles
[highway = 'pedestrian'],
[highway = 'track'],
[highway = 'path'],
[highway = 'footway'],
[highway = 'cycleway'],
[highway = 'bridleway'] {
line-cap: butt;
}
[highway = 'pedestrian'] {
line-dasharray: 10,2;
}
[highway = 'track'] {
line-dasharray: 8,2;
}
[highway = 'path'] {
line-dasharray: 6,4;
}
[highway = 'footway'],
[highway = 'cycleway'],
[highway = 'bridleway'] {
line-dasharray: 2,2;
}
// Widths
[highway = 'motorway'] {
//line-color: #1c1c24;
[zoom = 6] { line-width: 0.5; }
[zoom = 7] { line-width: 1.0; }
[zoom = 8] { line-width: 1.5; }
[zoom = 9] { line-width: 2.0; }
[zoom = 10] { line-width: 2.5; }
[zoom = 11] { line-width: 3.0; }
[zoom = 12] { line-width: 3.5; }
[zoom = 13] { line-width: 4.0; }
[zoom = 14] { line-width: 4.5; }
[zoom = 15] { line-width: 5.0; }
[zoom = 16] { line-width: 5.5; }
[zoom = 17] { line-width: 6.0; }
[zoom = 18] { line-width: 6.5; }
}
[highway = 'trunk'] {
//line-color: #373748;
[zoom = 7] { line-width: 0.5; }
[zoom = 8] { line-width: 1.0; }
[zoom = 9] { line-width: 1.5; }
[zoom = 10] { line-width: 2.0; }
[zoom = 11] { line-width: 2.5; }
[zoom = 12] { line-width: 3.0; }
[zoom = 13] { line-width: 3.5; }
[zoom = 14] { line-width: 4.0; }
[zoom = 15] { line-width: 4.5; }
[zoom = 16] { line-width: 5.0; }
[zoom = 17] { line-width: 5.5; }
[zoom = 18] { line-width: 6.0; }
}
[highway = 'primary'] {
//line-color: #53536c;
[zoom = 8] { line-width: 0.5; }
[zoom = 9] { line-width: 1.0; }
[zoom = 10] { line-width: 1.5; }
[zoom = 11] { line-width: 2.0; }
[zoom = 12] { line-width: 2.5; }
[zoom = 13] { line-width: 3.0; }
[zoom = 14] { line-width: 3.5; }
[zoom = 15] { line-width: 4.0; }
[zoom = 16] { line-width: 4.5; }
[zoom = 17] { line-width: 5.0; }
[zoom = 18] { line-width: 5.5; }
}
[highway = 'motorway_link'],
[highway = 'trunk_link'],
[highway = 'secondary'] {
//line-color: #6f6f91;
[zoom = 9] { line-width: 0.5; }
[zoom = 10] { line-width: 1.0; }
[zoom = 11] { line-width: 1.5; }
[zoom = 12] { line-width: 2.0; }
[zoom = 13] { line-width: 2.5; }
[zoom = 14] { line-width: 3.0; }
[zoom = 15] { line-width: 3.5; }
[zoom = 16] { line-width: 4.0; }
[zoom = 17] { line-width: 4.5; }
[zoom = 18] { line-width: 5.0; }
}
[highway = 'primary_link'],
[highway = 'secondary_link'],
[highway = 'tertiary'],
[highway = 'tertiary_link'] {
//line-color: #1c1c24;
[zoom = 11] { line-width: 0.5; }
[zoom = 12] { line-width: 1.0; }
[zoom = 13] { line-width: 1.5; }
[zoom = 14] { line-width: 2.0; }
[zoom = 15] { line-width: 2.5; }
[zoom = 16] { line-width: 3.0; }
[zoom = 17] { line-width: 3.5; }
[zoom = 18] { line-width: 4.0; }
}
[highway = 'road'],
[highway = 'residential'],
[highway = 'unclassified'],
[highway = 'living_street'],
[highway = 'pedestrian'] {
[zoom = 12] { line-width: 0.5; }
[zoom = 13] { line-width: 1.0; }
[zoom = 14] { line-width: 1.5; }
[zoom = 15] { line-width: 2.0; }
[zoom = 16] { line-width: 2.5; }
[zoom = 17] { line-width: 3.0; }
[zoom = 18] { line-width: 3.5; }
}
[highway = 'service'],
[highway = 'track'],
[highway = 'path'],
[highway = 'footway'],
[highway = 'cycleway' ]{
[zoom = 14] { line-width: 0.4; }
[zoom = 15] { line-width: 0.8; }
[zoom = 16] { line-width: 1.2; }
[zoom = 17] { line-width: 1.6; }
[zoom = 18] { line-width: 2.0; }
}
}