source: josm/trunk/test/data/styles/filter.mapcss @ 9786

Last change on this file since 9786 was 9786, checked in by bastiK, 4 years ago

new mappaint performance test
tests different features separately

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