Refactoring: split icons into proper layered icons, fix and rerun shops-thief

This commit is contained in:
Pieter Vander Vennet 2023-10-06 23:56:50 +02:00
parent d6cd0516bb
commit 19a760178b
307 changed files with 26845 additions and 116541 deletions

View file

@ -1278,104 +1278,91 @@
"point",
"centroid"
],
"icon": {
"render": "./assets/themes/advertising/sign.svg",
"mappings": [
{
"if": {
"or": [
"advertising=billboard"
]
},
"then": "./assets/themes/advertising/billboard.svg"
},
{
"if": "advertising=board",
"then": "./assets/themes/advertising/board.svg"
},
{
"if": "advertising=column",
"then": "./assets/themes/advertising/column.svg"
},
{
"if": "advertising=flag",
"then": "./assets/themes/advertising/flag.svg"
},
{
"if": {
"and": [
"advertising=poster_box",
"_referencing_ways=[\"way/-1\"]"
]
},
"then": "brick_wall_square;./assets/themes/advertising/poster_box_no_support.svg"
},
{
"if": {
"and": [
"advertising=poster_box",
"_referencing_ways~*"
]
},
"then": "./assets/themes/advertising/poster_box_no_support.svg"
},
{
"if": "advertising=poster_box",
"then": "./assets/themes/advertising/poster_box.svg"
},
{
"if": {
"and": [
"advertising=screen",
"_referencing_ways=[\"way/-1\"]"
]
},
"then": "brick_wall_square;./assets/themes/advertising/screen_no_support.svg"
},
{
"if": {
"and": [
"advertising=screen",
"_referencing_ways~*"
]
},
"then": "./assets/themes/advertising/screen_no_support.svg"
},
{
"if": "advertising=screen",
"then": "./assets/themes/advertising/screen.svg"
},
{
"if": "advertising=sculpture",
"then": "./assets/themes/advertising/sculpture.svg"
},
{
"if": {
"and": [
"advertising=sign",
"_referencing_ways=[\"way/-1\"]"
]
},
"then": "brick_wall_square;./assets/themes/advertising/sign.svg"
},
{
"if": "advertising=sign",
"then": "./assets/themes/advertising/sign.svg"
},
{
"if": "advertising=tarp",
"then": "./assets/themes/advertising/tarp.svg"
},
{
"if": "advertising=totem",
"then": "./assets/themes/advertising/totem.svg"
},
{
"if": "advertising=wall_painting",
"then": "./assets/themes/advertising/wall_painting.svg"
"marker": [
{
"icon": {
"mappings": [
{
"if": "_referencing_ways=[\"way/-1\"]",
"then": "brick_wall_square"
}
]
}
]
},
},
{
"icon": {
"render": "./assets/themes/advertising/sign.svg",
"mappings": [
{
"if": {
"or": [
"advertising=billboard"
]
},
"then": "./assets/themes/advertising/billboard.svg"
},
{
"if": "advertising=board",
"then": "./assets/themes/advertising/board.svg"
},
{
"if": "advertising=column",
"then": "./assets/themes/advertising/column.svg"
},
{
"if": "advertising=flag",
"then": "./assets/themes/advertising/flag.svg"
},
{
"if": {
"and": [
"advertising=poster_box",
"_referencing_ways~*"
]
},
"then": "./assets/themes/advertising/poster_box_no_support.svg"
},
{
"if": "advertising=poster_box",
"then": "./assets/themes/advertising/poster_box.svg"
},
{
"if": {
"and": [
"advertising=screen",
"_referencing_ways~*"
]
},
"then": "./assets/themes/advertising/screen_no_support.svg"
},
{
"if": "advertising=screen",
"then": "./assets/themes/advertising/screen.svg"
},
{
"if": "advertising=sculpture",
"then": "./assets/themes/advertising/sculpture.svg"
},
{
"if": "advertising=sign",
"then": "./assets/themes/advertising/sign.svg"
},
{
"if": "advertising=tarp",
"then": "./assets/themes/advertising/tarp.svg"
},
{
"if": "advertising=totem",
"then": "./assets/themes/advertising/totem.svg"
},
{
"if": "advertising=wall_painting",
"then": "./assets/themes/advertising/wall_painting.svg"
}
]
}
}
],
"iconSize": {
"render": "40,40",
"mappings": [