Debian Codegraph @

test/data/styles/filter.mapcss

raw
1 meta {
2 title: "filter style elments";
3 }
4
5 setting::icon_off {
6 type: boolean;
7 label: "icon";
8 default: false;
9 }
10
11 setting::symbol_off {
12 type: boolean;
13 label: "symbol";
14 default: false;
15 }
16
17 setting::node_text_off {
18 type: boolean;
19 label: "node_text";
20 default: false;
21 }
22
23 setting::line_off {
24 type: boolean;
25 label: "line";
26 default: false;
27 }
28
29 setting::line_text_off {
30 type: boolean;
31 label: "line_text";
32 default: false;
33 }
34
35 setting::area_off {
36 type: boolean;
37 label: "area";
38 default: false;
39 }
40
41 canvas[setting("line_off")] {
42 default-lines: false;
43 }
44
45 node[setting("icon_off")]::*, relation[setting("icon_off")]::* {
46 icon-image: none;
47 }
48
49 node[setting("symbol_off")]::* {
50 symbol-shape: none;
51 }
52
53 node[setting("node_text_off")]::* {
54 text: none;
55 }
56
57 way[setting("line_off")]::*, relation[setting("line_off")]::* {
58 width: none;
59 casing-width: none;
60 repeat-image: none;
61 }
62
63 way[prop("text-position", "default")="line"][setting("line_text_off")]::* {
64 text: none;
65 }
66
67 area[setting("area_off")]::* {
68 fill-color : none;
69 }
70