Themes: add memorials to artwork on high zoom
This commit is contained in:
parent
d8be0acdfe
commit
29c5b884c4
3 changed files with 45 additions and 2 deletions
|
@ -789,6 +789,37 @@
|
||||||
"artwork-question"
|
"artwork-question"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"id": "doubles_as_memorial",
|
||||||
|
"question": {
|
||||||
|
"en": "Does this artwork serve as a memorial?"
|
||||||
|
},
|
||||||
|
"mappings": [
|
||||||
|
{
|
||||||
|
"if": "historic=memorial",
|
||||||
|
"then": {
|
||||||
|
"en": "This artwork also serves as a memorial"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"if": "historic=",
|
||||||
|
"alsoShowIf": "historic!=memorial",
|
||||||
|
"then": {
|
||||||
|
"en": "This artwork does not serve as a bench"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"builtin": "memorial.memorial-questions",
|
||||||
|
"override": {
|
||||||
|
"condition": {
|
||||||
|
"and": [
|
||||||
|
"historic=memorial"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"id": "doubles_as_bench",
|
"id": "doubles_as_bench",
|
||||||
"question": {
|
"question": {
|
||||||
|
|
|
@ -93,6 +93,7 @@
|
||||||
"images",
|
"images",
|
||||||
{
|
{
|
||||||
"id": "memorial-type",
|
"id": "memorial-type",
|
||||||
|
"labels": ["memorial-questions"],
|
||||||
"question": {
|
"question": {
|
||||||
"en": "What type of memorial is this?",
|
"en": "What type of memorial is this?",
|
||||||
"de": "Was für eine Art von Denkmal ist das?",
|
"de": "Was für eine Art von Denkmal ist das?",
|
||||||
|
@ -255,6 +256,8 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "inscription",
|
"id": "inscription",
|
||||||
|
"labels": ["memorial-questions"],
|
||||||
|
|
||||||
"question": {
|
"question": {
|
||||||
"en": "What is the inscription on this memorial?",
|
"en": "What is the inscription on this memorial?",
|
||||||
"ca": "Quina és la inscripció d'aquesta placa?",
|
"ca": "Quina és la inscripció d'aquesta placa?",
|
||||||
|
|
|
@ -51,6 +51,15 @@
|
||||||
"icon": "./assets/themes/artwork/artwork.svg",
|
"icon": "./assets/themes/artwork/artwork.svg",
|
||||||
"startZoom": 12,
|
"startZoom": 12,
|
||||||
"layers": [
|
"layers": [
|
||||||
"artwork"
|
"artwork",
|
||||||
|
{
|
||||||
|
"builtin": [
|
||||||
|
"memorial",
|
||||||
|
"bench"
|
||||||
|
],
|
||||||
|
"override": {
|
||||||
|
"minzoom": 18
|
||||||
|
}
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue