forked from gravitystorm/openstreetmap-carto
-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathaddressing.mss
42 lines (40 loc) · 835 Bytes
/
addressing.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
#interpolation [zoom >= 17] {
line-color: #888;
line-width: 1;
line-dasharray: 2,4;
}
#housenumbers [zoom >= 17] {
text-name: "[housenumber]";
text-placement: interior;
text-margin: 2;
text-wrap-width: 0;
text-face-name: @book-fonts;
text-fill: #585858;
text-size: 7;
[entrance!=''] { text-dy: 4; }
[zoom >= 18] {
text-size: 9;
}
// housename
name/text-name: "[housename]";
name/text-placement: interior;
name/text-wrap-width: 20;
name/text-face-name: @book-fonts;
name/text-size: 8;
name/text-fill: #444;
[housenumber!=''] { name/text-dy: 8}
[zoom >= 18] {
name/text-size: 9;
}
}
#bano [zoom >= 17] {
text-name: "[num]";
text-margin: 2;
text-wrap-width: 0;
text-face-name: @oblique-fonts;
text-fill: #777;
text-size: 7;
[zoom >= 18] {
text-size: 9;
}
}