forked from MapComplete/MapComplete
Refactoring: split icons into proper layered icons, fix and rerun shops-thief
This commit is contained in:
parent
d6cd0516bb
commit
19a760178b
307 changed files with 26845 additions and 116541 deletions
|
@ -1135,219 +1135,6 @@
|
|||
"point",
|
||||
"centroid"
|
||||
],
|
||||
"icon": {
|
||||
"render": "circle:white;./assets/layers/recycling/recycling-14.svg",
|
||||
"mappings": [
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"_waste_amount=1",
|
||||
"recycling:batteries=yes"
|
||||
]
|
||||
},
|
||||
"then": "circle:white;./assets/layers/recycling/batteries.svg"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"_waste_amount=1",
|
||||
"recycling:beverage_cartons=yes"
|
||||
]
|
||||
},
|
||||
"then": "circle:white;./assets/layers/recycling/beverage_cartons.svg"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"_waste_amount=1",
|
||||
"recycling:cans=yes"
|
||||
]
|
||||
},
|
||||
"then": "circle:white;./assets/layers/recycling/cans.svg"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"_waste_amount=1",
|
||||
"recycling:clothes=yes"
|
||||
]
|
||||
},
|
||||
"then": "circle:white;./assets/layers/recycling/clothes.svg"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"_waste_amount=1",
|
||||
"recycling:cooking_oil=yes"
|
||||
]
|
||||
},
|
||||
"then": "circle:white;./assets/layers/recycling/cooking_oil.svg"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"_waste_amount=1",
|
||||
"recycling:engine_oil=yes"
|
||||
]
|
||||
},
|
||||
"then": "circle:white;./assets/layers/recycling/engine_oil.svg"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"_waste_amount=1",
|
||||
"recycling:fluorescent_tubes=yes"
|
||||
]
|
||||
},
|
||||
"then": "circle:white;./assets/layers/recycling/fluorescent_tubes.svg"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"_waste_amount=1",
|
||||
"recycling:glass=yes"
|
||||
]
|
||||
},
|
||||
"then": "circle:white;./assets/layers/recycling/glass.svg"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"_waste_amount=1",
|
||||
"recycling:glass_bottles=yes"
|
||||
]
|
||||
},
|
||||
"then": "circle:white;./assets/layers/recycling/glass_bottles.svg"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"_waste_amount=1",
|
||||
{
|
||||
"or": [
|
||||
"recycling:green_waste=yes",
|
||||
"recycling:organic=yes"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"then": "circle:white;./assets/layers/recycling/garden_waste.svg"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"_waste_amount=1",
|
||||
"recycling:light_bulbs=yes"
|
||||
]
|
||||
},
|
||||
"then": "circle:white;./assets/layers/recycling/light_bulbs.svg"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"_waste_amount=1",
|
||||
"recycling:newspaper=yes"
|
||||
]
|
||||
},
|
||||
"then": "circle:white;./assets/layers/recycling/newspaper.svg"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"_waste_amount=1",
|
||||
"recycling:paper=yes"
|
||||
]
|
||||
},
|
||||
"then": "circle:white;./assets/layers/recycling/paper.svg"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"_waste_amount=1",
|
||||
"recycling:plastic_bottles=yes"
|
||||
]
|
||||
},
|
||||
"then": "circle:white;./assets/layers/recycling/plastic_bottles.svg"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"_waste_amount=1",
|
||||
"recycling:plastic_packaging=yes"
|
||||
]
|
||||
},
|
||||
"then": "circle:white;./assets/layers/recycling/plastic_packaging.svg"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"_waste_amount=1",
|
||||
"recycling:plastic=yes"
|
||||
]
|
||||
},
|
||||
"then": "circle:white;./assets/layers/recycling/plastic.svg"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"_waste_amount=1",
|
||||
"recycling:printer_cartridges=yes"
|
||||
]
|
||||
},
|
||||
"then": "circle:white;./assets/layers/recycling/printer_cartridges.svg"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"_waste_amount=1",
|
||||
"recycling:scrap_metal=yes"
|
||||
]
|
||||
},
|
||||
"then": "circle:white;./assets/layers/recycling/scrap_metal.svg"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"_waste_amount=1",
|
||||
"recycling:shoes=yes"
|
||||
]
|
||||
},
|
||||
"then": "circle:white;./assets/layers/recycling/shoes.svg"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"_waste_amount=1",
|
||||
{
|
||||
"or": [
|
||||
"recycling:small_appliances=yes",
|
||||
"recycling:small_electric_appliances=yes"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"then": "circle:white;./assets/layers/recycling/small_electrical_appliances.svg"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"_waste_amount=1",
|
||||
"recycling:waste=yes"
|
||||
]
|
||||
},
|
||||
"then": "circle:white;./assets/layers/waste_disposal/waste_disposal.svg"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"_waste_amount=1",
|
||||
"recycling:needles=yes"
|
||||
]
|
||||
},
|
||||
"then": "circle:white;./assets/layers/recycling/needles.svg"
|
||||
}
|
||||
]
|
||||
},
|
||||
"iconBadges": [
|
||||
{
|
||||
"if": {
|
||||
|
@ -1566,6 +1353,223 @@
|
|||
},
|
||||
"then": "circle:white;./assets/layers/recycling/bicycles.svg"
|
||||
}
|
||||
],
|
||||
"marker": [
|
||||
{
|
||||
"icon": {
|
||||
"render": "circle:white;./assets/layers/recycling/recycling-14.svg",
|
||||
"mappings": [
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"_waste_amount=1",
|
||||
"recycling:batteries=yes"
|
||||
]
|
||||
},
|
||||
"then": "circle:white;./assets/layers/recycling/batteries.svg"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"_waste_amount=1",
|
||||
"recycling:beverage_cartons=yes"
|
||||
]
|
||||
},
|
||||
"then": "circle:white;./assets/layers/recycling/beverage_cartons.svg"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"_waste_amount=1",
|
||||
"recycling:cans=yes"
|
||||
]
|
||||
},
|
||||
"then": "circle:white;./assets/layers/recycling/cans.svg"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"_waste_amount=1",
|
||||
"recycling:clothes=yes"
|
||||
]
|
||||
},
|
||||
"then": "circle:white;./assets/layers/recycling/clothes.svg"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"_waste_amount=1",
|
||||
"recycling:cooking_oil=yes"
|
||||
]
|
||||
},
|
||||
"then": "circle:white;./assets/layers/recycling/cooking_oil.svg"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"_waste_amount=1",
|
||||
"recycling:engine_oil=yes"
|
||||
]
|
||||
},
|
||||
"then": "circle:white;./assets/layers/recycling/engine_oil.svg"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"_waste_amount=1",
|
||||
"recycling:fluorescent_tubes=yes"
|
||||
]
|
||||
},
|
||||
"then": "circle:white;./assets/layers/recycling/fluorescent_tubes.svg"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"_waste_amount=1",
|
||||
"recycling:glass=yes"
|
||||
]
|
||||
},
|
||||
"then": "circle:white;./assets/layers/recycling/glass.svg"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"_waste_amount=1",
|
||||
"recycling:glass_bottles=yes"
|
||||
]
|
||||
},
|
||||
"then": "circle:white;./assets/layers/recycling/glass_bottles.svg"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"_waste_amount=1",
|
||||
{
|
||||
"or": [
|
||||
"recycling:green_waste=yes",
|
||||
"recycling:organic=yes"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"then": "circle:white;./assets/layers/recycling/garden_waste.svg"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"_waste_amount=1",
|
||||
"recycling:light_bulbs=yes"
|
||||
]
|
||||
},
|
||||
"then": "circle:white;./assets/layers/recycling/light_bulbs.svg"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"_waste_amount=1",
|
||||
"recycling:newspaper=yes"
|
||||
]
|
||||
},
|
||||
"then": "circle:white;./assets/layers/recycling/newspaper.svg"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"_waste_amount=1",
|
||||
"recycling:paper=yes"
|
||||
]
|
||||
},
|
||||
"then": "circle:white;./assets/layers/recycling/paper.svg"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"_waste_amount=1",
|
||||
"recycling:plastic_bottles=yes"
|
||||
]
|
||||
},
|
||||
"then": "circle:white;./assets/layers/recycling/plastic_bottles.svg"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"_waste_amount=1",
|
||||
"recycling:plastic_packaging=yes"
|
||||
]
|
||||
},
|
||||
"then": "circle:white;./assets/layers/recycling/plastic_packaging.svg"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"_waste_amount=1",
|
||||
"recycling:plastic=yes"
|
||||
]
|
||||
},
|
||||
"then": "circle:white;./assets/layers/recycling/plastic.svg"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"_waste_amount=1",
|
||||
"recycling:printer_cartridges=yes"
|
||||
]
|
||||
},
|
||||
"then": "circle:white;./assets/layers/recycling/printer_cartridges.svg"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"_waste_amount=1",
|
||||
"recycling:scrap_metal=yes"
|
||||
]
|
||||
},
|
||||
"then": "circle:white;./assets/layers/recycling/scrap_metal.svg"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"_waste_amount=1",
|
||||
"recycling:shoes=yes"
|
||||
]
|
||||
},
|
||||
"then": "circle:white;./assets/layers/recycling/shoes.svg"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"_waste_amount=1",
|
||||
{
|
||||
"or": [
|
||||
"recycling:small_appliances=yes",
|
||||
"recycling:small_electric_appliances=yes"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"then": "circle:white;./assets/layers/recycling/small_electrical_appliances.svg"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"_waste_amount=1",
|
||||
"recycling:waste=yes"
|
||||
]
|
||||
},
|
||||
"then": "circle:white;./assets/layers/waste_disposal/waste_disposal.svg"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"_waste_amount=1",
|
||||
"recycling:needles=yes"
|
||||
]
|
||||
},
|
||||
"then": "circle:white;./assets/layers/recycling/needles.svg"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue