This repository was archived by the owner on Jan 24, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathparks.mss
More file actions
41 lines (40 loc) · 1.34 KB
/
Copy pathparks.mss
File metadata and controls
41 lines (40 loc) · 1.34 KB
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
//Parks
#poi_label[maki=''] { opacity:1; } // hack for mapnik#1952
#poi_label [maki='park'][scalerank<4] {
[zoom<14],
[zoom>=14][scalerank=1][localrank<=1],
[zoom>=15][scalerank<=2][localrank<=1],
[zoom>=16][scalerank<=3][localrank<=1],
[zoom>=17][localrank<=4],
[zoom>=18][localrank<=16],
[zoom>=19] {
text-name: @name;
text-face-name: @sans;
text-halo-fill: @land-halo;
text-fill: @text-level4;
text-halo-radius: 2;
text-line-spacing: -3;
text-wrap-width: 80;
text-wrap-before: true;
[scalerank=1] {
[zoom>=15] { text-size: 11; text-wrap-width: 100; }
[zoom>=16] { text-size: 12; text-wrap-width: 120; }
[zoom>=17] { text-size: 14; text-wrap-width: 130;
text-fill: @text-level3;}
[zoom>=18] { text-size: 13; text-wrap-width: 130;
text-fill: @text-level4; text-face-name:@country;}
}
[scalerank=2] {
[zoom>=16] { text-size: 11; text-wrap-width: 100; }
[zoom>=17] { text-size: 12; text-wrap-width: 120;
text-fill: @text-level3;}
[zoom>=18] { text-size: 13; text-wrap-width: 130;
text-fill: @text-level5; text-face-name:@country;}
}
[scalerank>=3] {
[zoom>=17] { text-size: 11; text-wrap-width: 100; }
[zoom>=18] { text-size: 13; text-wrap-width: 120;
text-fill: @text-level5; text-face-name:@country;}
}
}
}