More cleanup

This commit is contained in:
Pieter Vander Vennet 2021-10-19 12:58:53 +02:00
parent 2c480eb9d8
commit 4a7cce762e
12 changed files with 366 additions and 27 deletions

View file

@ -108,6 +108,29 @@
}
]
}
],
"mapRendering": [
{
"icon": {
"render": "./assets/themes/uk_addresses/housenumber_unknown.svg",
"mappings": [
{
"if": "_embedding_object:id~*",
"then": "./assets/themes/uk_addresses/housenumber_unknown_small.svg"
},
{
"if": "_imported=yes",
"then": "./assets/themes/uk_addresses/housenumber_unknown_small.svg"
}
]
},
"iconSize": {
"render": "40,40,center"
},
"location": [
"point"
]
}
]
},
{
@ -254,7 +277,36 @@
"then": "#ff0"
}
]
}
},
"mapRendering": [
{
"icon": {
"render": "./assets/themes/uk_addresses/housenumber_ok.svg",
"mappings": [
{
"if": {
"or": [
{
"and": [
"addr:housenumber=",
"nohousenumber!=yes"
]
},
"addr:street="
]
},
"then": "./assets/themes/uk_addresses/housenumber_unknown.svg"
}
]
},
"iconSize": {
"render": "40,40,center"
},
"location": [
"point"
]
}
]
},
{
"id": "named_streets",
@ -272,7 +324,14 @@
},
"width": {
"render": "0"
}
},
"mapRendering": [
{
"location": [
"point"
]
}
]
}
]
}