forked from gravitystorm/openstreetmap-carto
-
Notifications
You must be signed in to change notification settings - Fork 0
/
stations.mss
65 lines (62 loc) · 1.43 KB
/
stations.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
@station-color: #7981b0;
.stations {
[railway = 'subway_entrance'][zoom >= 18] {
point-file: url('symbols/walking.n.12.png');
point-placement: interior;
}
[railway = 'station'][zoom >= 12] {
marker-file: url('symbols/square.svg');
marker-placement: interior;
marker-fill: @station-color;
marker-width: 4;
marker-clip: false;
[zoom >= 13] {
marker-width: 6;
}
[zoom >= 14] {
text-name: "[name]";
text-face-name: @bold-fonts;
text-size: 9;
text-fill: #66f;
text-dy: -8;
text-halo-radius: 1;
text-halo-fill: rgba(255,255,255,0.6);
text-wrap-width: 0;
text-placement: interior;
}
[zoom >= 15] {
marker-width: 9;
text-size: 11;
text-dy: -10;
}
}
[railway = 'halt'],
[railway = 'tram_stop'],
[aerialway = 'station']::aerialway {
[zoom >= 13] {
marker-file: url('symbols/square.svg');
marker-placement: interior;
marker-fill: @station-color;
marker-width: 4;
marker-clip: false;
}
[zoom >= 15] {
marker-width: 6;
}
[zoom >= 14] {
text-name: "[name]";
text-face-name: @book-fonts;
text-size: 8;
text-fill: #66f;
text-dy: -8;
text-halo-radius: 1;
text-halo-fill: rgba(255,255,255,0.6);
text-wrap-width: 0;
text-placement: interior;
[zoom >= 15] {
text-size: 10;
text-dy: -10;
}
}
}
}