Refactor isShown into a tagsfilter
This commit is contained in:
parent
dab0565a8b
commit
b8bca0287d
13 changed files with 64 additions and 123 deletions
|
@ -21,17 +21,9 @@
|
|||
"_is_enclosed=feat.properties._enclosing != '[]'"
|
||||
],
|
||||
"isShown": {
|
||||
"render": "yes",
|
||||
"mappings": [
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"building~*",
|
||||
"_is_enclosed=true"
|
||||
]
|
||||
},
|
||||
"then": "no"
|
||||
}
|
||||
"or": [
|
||||
"building=",
|
||||
"_is_enclosed!=true"
|
||||
]
|
||||
},
|
||||
"tagRenderings": [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue