Themes: better support billboard on walls

This commit is contained in:
Pieter Vander Vennet 2024-08-24 23:40:39 +02:00
parent a3c910bb88
commit 0a1c90be9e
8 changed files with 236 additions and 1 deletions

View file

@ -291,10 +291,15 @@
"mappings": [
{
"if": {
"or": [
"and": [
"_referencing_ways~*",
"advertising=billboard"
]
},
"then": "./assets/themes/advertising/billboard_wall.svg"
},
{
"if": "advertising=billboard",
"then": "./assets/themes/advertising/billboard.svg"
},
{
@ -454,6 +459,23 @@
"./assets/themes/advertising/Repsol_Billboard.jpg"
]
},
{
"tags": [
"advertising=billboard"
],
"snapToLayer": [
"walls_and_buildings"
],
"title": {
"en": "a billboard mounted to a wall"
},
"description": {
"en": "A large outdoor advertising structure, typically found in high-traffic areas such as alongside busy roads mounted on a wall"
},
"exampleImages": [
"./assets/themes/advertising/billboard_wall.jpg"
]
},
{
"tags": [
"advertising=poster_box"