forked from dooman87/openstreetmap-carto
-
Notifications
You must be signed in to change notification settings - Fork 0
/
stations.mss
114 lines (109 loc) · 2.69 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
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
@station-color: #7981b0;
@station-text: darken(saturate(@station-color, 15%), 10%);
.stations {
[railway = 'subway_entrance'][zoom >= 18] {
marker-file: url('symbols/entrance.10.svg');
marker-placement: interior;
marker-fill: @transportation-icon;
marker-clip: false;
}
[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: @station-text;
text-dy: 8;
text-halo-radius: @halo-radius-default;
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'] {
[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 >= 15] {
text-name: "[name]";
text-face-name: @bold-fonts;
text-size: 9;
text-fill: @station-text;
text-dy: 9;
text-halo-radius: @halo-radius-default;
text-halo-fill: rgba(255,255,255,0.6);
text-wrap-width: 0;
text-placement: interior;
}
}
[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: @station-text;
text-dy: 8;
text-halo-radius: @halo-radius-default;
text-halo-fill: rgba(255,255,255,0.6);
text-wrap-width: 0;
text-placement: interior;
[zoom >= 15] {
text-size: 10;
text-dy: 10;
}
}
}
[railway = 'tram_stop'] {
[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 >= 16] {
text-name: "[name]";
text-face-name: @book-fonts;
text-size: 10;
text-fill: @station-text;
text-dy: 10;
text-halo-radius: @halo-radius-default;
text-halo-fill: rgba(255,255,255,0.6);
text-wrap-width: 0;
text-placement: interior;
}
}
}