forked from gravitystorm/openstreetmap-carto
-
Notifications
You must be signed in to change notification settings - Fork 0
/
power.mss
54 lines (51 loc) · 947 Bytes
/
power.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
@power-line-color: #888;
#power-line {
[zoom >= 14] {
line-width: 0.5;
line-color: @power-line-color;
[zoom >= 15] {
line-width: 0.6;
}
[zoom >= 16] {
line-width: 0.7;
}
[zoom >= 18] {
line-width: 1;
}
[zoom >= 19] {
line-width: 1.2;
}
}
}
#power-minorline {
[zoom >= 16] {
line-width: 0.3;
line-color: @power-line-color;
[zoom >= 17] {
line-width: 0.4;
}
[zoom >= 18] {
line-width: 0.5;
}
}
}
#power-towers {
[power = 'tower'] {
[zoom >= 14] {
marker-file: url('symbols/man_made/power_tower_small.svg');
marker-width: 3;
}
[zoom >= 15] {
marker-file: url('symbols/man_made/power_tower.svg');
marker-width: 5;
}
[zoom >= 17] {
marker-width: 7;
}
}
[power = 'pole'][zoom >= 16] {
marker-file: url('symbols/square.svg');
marker-fill: #928f8f;
marker-width: 3;
}
}