forked from MapComplete/MapComplete
		
	Themes(wayside_shrine,artwork): add artwork as adjacent concept to shrines
This commit is contained in:
		
							parent
							
								
									e8951e2b80
								
							
						
					
					
						commit
						266e91e45d
					
				
					 3 changed files with 76 additions and 4 deletions
				
			
		|  | @ -832,6 +832,7 @@ | ||||||
|       "mappings": [ |       "mappings": [ | ||||||
|         { |         { | ||||||
|           "if": "historic=memorial", |           "if": "historic=memorial", | ||||||
|  |           "icon": "./assets/layers/memorial/memorial.svg", | ||||||
|           "then": { |           "then": { | ||||||
|             "en": "This artwork also serves as a memorial", |             "en": "This artwork also serves as a memorial", | ||||||
|             "de": "Dieses Kunstwerk dient auch als Mahnmal", |             "de": "Dieses Kunstwerk dient auch als Mahnmal", | ||||||
|  | @ -889,6 +890,7 @@ | ||||||
|       "mappings": [ |       "mappings": [ | ||||||
|         { |         { | ||||||
|           "if": "amenity=bench", |           "if": "amenity=bench", | ||||||
|  |           "icon": "./assets/layers/bench/bench.svg", | ||||||
|           "then": { |           "then": { | ||||||
|             "en": "This artwork also serves as a bench", |             "en": "This artwork also serves as a bench", | ||||||
|             "de": "Dieses Kunstwerk dient auch als Sitzbank", |             "de": "Dieses Kunstwerk dient auch als Sitzbank", | ||||||
|  | @ -954,6 +956,38 @@ | ||||||
|           ] |           ] | ||||||
|         } |         } | ||||||
|       } |       } | ||||||
|  |     }, | ||||||
|  |     { | ||||||
|  |       "id": "doubles_as_wayside_shrine", | ||||||
|  |       "question": { | ||||||
|  |         "en": "Does this artwork also double as wayside shrine?" | ||||||
|  |       }, | ||||||
|  |       "mappings": [ | ||||||
|  |         { | ||||||
|  |           "if": "historic=wayside_shrine", | ||||||
|  |           "icon": "./assets/layers/wayside_shrine/shrine.svg", | ||||||
|  |           "then": { | ||||||
|  |             "en": "This artwork acts as a wayside shrine" | ||||||
|  |           } | ||||||
|  |         }, | ||||||
|  |         { | ||||||
|  |           "if": "historic=", | ||||||
|  |           "alsoShowIf": "historic!=wayside_shrine", | ||||||
|  |           "then": { | ||||||
|  |             "en": "This artwork does not act as a wayside shrine" | ||||||
|  |           } | ||||||
|  |         } | ||||||
|  |       ] | ||||||
|  |     }, | ||||||
|  |     { | ||||||
|  |       "builtin": "wayside_shrine.shrine_questions", | ||||||
|  |       "override": { | ||||||
|  |         "condition": { | ||||||
|  |           "and+": [ | ||||||
|  |             "historic=wayside_shrine" | ||||||
|  |           ] | ||||||
|  |         } | ||||||
|  |       } | ||||||
|     } |     } | ||||||
|   ], |   ], | ||||||
|   "filter": [ |   "filter": [ | ||||||
|  |  | ||||||
|  | @ -81,6 +81,9 @@ | ||||||
|         "en": "What's the name of this shrine?" |         "en": "What's the name of this shrine?" | ||||||
|       }, |       }, | ||||||
|       "id": "shrine_name", |       "id": "shrine_name", | ||||||
|  |       "labels": [ | ||||||
|  |         "shrine_questions" | ||||||
|  |       ], | ||||||
|       "freeform": { |       "freeform": { | ||||||
|         "key": "name", |         "key": "name", | ||||||
|         "type": "string", |         "type": "string", | ||||||
|  | @ -106,6 +109,9 @@ | ||||||
|         "en": "To which religion is this shrine dedicated?" |         "en": "To which religion is this shrine dedicated?" | ||||||
|       }, |       }, | ||||||
|       "id": "religion", |       "id": "religion", | ||||||
|  |       "labels": [ | ||||||
|  |         "shrine_questions" | ||||||
|  |       ], | ||||||
|       "mappings": [ |       "mappings": [ | ||||||
|         { |         { | ||||||
|           "if": "religion=christian", |           "if": "religion=christian", | ||||||
|  | @ -188,7 +194,14 @@ | ||||||
|         "en": "What's the Christian denomination of the shrine?" |         "en": "What's the Christian denomination of the shrine?" | ||||||
|       }, |       }, | ||||||
|       "id": "denomination_christian", |       "id": "denomination_christian", | ||||||
|       "condition": "religion=christian", |       "labels": [ | ||||||
|  |         "shrine_questions" | ||||||
|  |       ], | ||||||
|  |       "condition": { | ||||||
|  |         "and": [ | ||||||
|  |           "religion=christian" | ||||||
|  |         ] | ||||||
|  |       }, | ||||||
|       "mappings": [ |       "mappings": [ | ||||||
|         { |         { | ||||||
|           "if": "denomination=catholic", |           "if": "denomination=catholic", | ||||||
|  | @ -280,6 +293,9 @@ | ||||||
|         } |         } | ||||||
|       ], |       ], | ||||||
|       "id": "denomination_muslim", |       "id": "denomination_muslim", | ||||||
|  |       "labels": [ | ||||||
|  |         "shrine_questions" | ||||||
|  |       ], | ||||||
|       "freeform": { |       "freeform": { | ||||||
|         "key": "denomination" |         "key": "denomination" | ||||||
|       }, |       }, | ||||||
|  | @ -289,7 +305,11 @@ | ||||||
|       "question": { |       "question": { | ||||||
|         "en": "What's the Muslim denomination of this shrine?" |         "en": "What's the Muslim denomination of this shrine?" | ||||||
|       }, |       }, | ||||||
|       "condition": "religion=muslim" |       "condition": { | ||||||
|  |         "and": [ | ||||||
|  |           "religion=muslim" | ||||||
|  |         ] | ||||||
|  |       } | ||||||
|     }, |     }, | ||||||
|     { |     { | ||||||
|       "mappings": [ |       "mappings": [ | ||||||
|  | @ -319,6 +339,9 @@ | ||||||
|         } |         } | ||||||
|       ], |       ], | ||||||
|       "id": "denomination_jewish", |       "id": "denomination_jewish", | ||||||
|  |       "labels": [ | ||||||
|  |         "shrine_questions" | ||||||
|  |       ], | ||||||
|       "freeform": { |       "freeform": { | ||||||
|         "key": "denomination" |         "key": "denomination" | ||||||
|       }, |       }, | ||||||
|  | @ -328,13 +351,20 @@ | ||||||
|       "question": { |       "question": { | ||||||
|         "en": "What's the Jewish denomination of this shrine?" |         "en": "What's the Jewish denomination of this shrine?" | ||||||
|       }, |       }, | ||||||
|       "condition": "religion=jewish" |       "condition": { | ||||||
|  |         "and": [ | ||||||
|  |           "religion=jewish" | ||||||
|  |         ] | ||||||
|  |       } | ||||||
|     }, |     }, | ||||||
|     { |     { | ||||||
|       "question": { |       "question": { | ||||||
|         "en": "What's the denomination of this shrine?" |         "en": "What's the denomination of this shrine?" | ||||||
|       }, |       }, | ||||||
|       "id": "denomination_other", |       "id": "denomination_other", | ||||||
|  |       "labels": [ | ||||||
|  |         "shrine_questions" | ||||||
|  |       ], | ||||||
|       "render": { |       "render": { | ||||||
|         "en": "The denomination of this shrine is {denomination}" |         "en": "The denomination of this shrine is {denomination}" | ||||||
|       }, |       }, | ||||||
|  |  | ||||||
|  | @ -8,6 +8,14 @@ | ||||||
|   }, |   }, | ||||||
|   "icon": "./assets/layers/wayside_shrine/shrine.svg", |   "icon": "./assets/layers/wayside_shrine/shrine.svg", | ||||||
|   "layers": [ |   "layers": [ | ||||||
|     "wayside_shrine" |     "wayside_shrine", | ||||||
|  |     { | ||||||
|  |       "builtin": [ | ||||||
|  |         "artwork" | ||||||
|  |       ], | ||||||
|  |       "override": { | ||||||
|  |         "minzoom": 18 | ||||||
|  |       } | ||||||
|  |     } | ||||||
|   ] |   ] | ||||||
| } | } | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue