forked from osm-ar/osm-ar-carto
-
Notifications
You must be signed in to change notification settings - Fork 0
/
admin.mss
112 lines (108 loc) · 2.09 KB
/
admin.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
#admin-01234 {
[admin_level = '2'],
[admin_level = '3'] {
[zoom >= 4] {
line-color: purple;
line-width: 0.6;
line-opacity: 0.2;
}
[zoom >= 7] {
line-width: 2;
}
[zoom >= 10] {
line-opacity: 0.1;
[admin_level = '2'] {
line-width: 6;
}
[admin_level = '3'] {
line-width: 5;
line-dasharray: 4,2;
}
}
}
[admin_level = '4'] {
[zoom >= 4] {
line-color: purple;
line-width: 0.6;
line-dasharray: 4,3;
line-opacity: 0.2;
}
[zoom >= 7] {
line-width: 1;
}
[zoom >= 11] {
line-width: 3;
}
}
}
#admin-5678 {
[admin_level = '5'][zoom >= 11] {
line-color: purple;
line-width: 2;
line-dasharray: 6,3,2,3,2,3;
line-opacity: 0.3;
}
[admin_level = '6'][zoom >= 11] {
line-color: purple;
line-width: 2;
line-dasharray: 6,3,2,3;
line-opacity: 0.3;
}
[admin_level = '7'],
[admin_level = '8'] {
[zoom >= 12] {
line-color: purple;
line-width: 1.5;
line-dasharray: 5,2;
line-opacity: 0.3;
}
}
}
#admin-other {
[admin_level = '9'],
[admin_level = '10'] {
[zoom >= 13] {
line-color: purple;
line-width: 2;
line-dasharray: 2,3;
line-opacity: 0.3;
}
}
}
/*
* err, what does this do?
<Style name="admin-other">
<Rule>
<Filter>not [admin_level] != ''</Filter>
&maxscale_zoom9;
&minscale_zoom11;
<LineSymbolizer stroke="purple" stroke-width="1" stroke-opacity="0.2"/>
</Rule>
</Style>
*/
#national-park-boundaries {
[zoom >= 7] {
[zoom < 13] {
polygon-opacity: 0.05;
polygon-fill: green;
}
line-color: green;
line-width: 1.5;
line-dasharray: 4,2;
line-opacity: 0.15;
[zoom >= 10] {
line-width: 3;
line-dasharray: 6,2;
}
}
[way_area > 200000000][zoom >= 8][zoom < 12],
[zoom >= 11][zoom < 12] {
text-name: "[name]";
text-size: 8;
text-fill: #9c9;
text-face-name: @bold-fonts;
text-halo-radius: 1;
text-wrap-width: 14;
[zoom >= 11] { text-size: 11; }
}
}