-
Notifications
You must be signed in to change notification settings - Fork 13
/
land_negative.mss
67 lines (57 loc) · 1.55 KB
/
land_negative.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
// Zooms 3-18
#land_negative {
::outline {
line-color: @landmass_line;
line-width: 0;
}
// Natural Earth
[zoom >= 3][zoom < 8] {
::outline {
line-width: 0;
line-color: @ne_rivers_casing;
}
[is_lake=0] {
[zoom=4][ne_scalerank<3],
[zoom=5][ne_scalerank<4],
[zoom>5][ne_scalerank<5] {
::outline {
line-width: 3;
}
line-color: @ne_rivers_stroke;
line-width: 0.5;
}
}
[is_lake=1] {
polygon-fill: @water;
::outline {
line-color: @landmass_line;
line-width: 1;
}
}
}
// OSM
[zoom >= 8] {
[is_lake=0] {
line-color: @water;
line-width: 0.5;
// to avoid excessive detail near Perpignan, France (10/42.6380/2.6944)
[zoom<13][type='riverbank'] {
line-width: 0;
}
}
[is_lake=1] {
polygon-fill: @water;
::outline[zoom=8][area>500000000] { line-width: 1; }
::outline[zoom=9][area>100000000] { line-width: 1.5; }
::outline[zoom=10][area>100000000] { line-width: 2; }
::outline[zoom=11][area>10000000] { line-width: 2.5; }
::outline[zoom=12][area>1000000] { line-width: 2.25; }
::outline[zoom=13][area>1000000] { line-width: 2.5; }
::outline[zoom=14][area>1000000] { line-width: 2.75; }
::outline[zoom=15][area>1000000] { line-width: 3; }
::outline[zoom=16][area>1000000] { line-width: 3.25; }
::outline[zoom=17][area>1000000] { line-width: 3.5; }
::outline[zoom=18][area>1000000] { line-width: 4; }
}
}
}