diff --git a/assets/layers/wayside_shrine/MountedShrineExample.jpg b/assets/layers/wayside_shrine/MountedShrineExample.jpg new file mode 100644 index 000000000..1256f5084 Binary files /dev/null and b/assets/layers/wayside_shrine/MountedShrineExample.jpg differ diff --git a/assets/layers/wayside_shrine/MountedShrineExample.jpg.license b/assets/layers/wayside_shrine/MountedShrineExample.jpg.license new file mode 100644 index 000000000..0874c6a78 --- /dev/null +++ b/assets/layers/wayside_shrine/MountedShrineExample.jpg.license @@ -0,0 +1,2 @@ +SPDX-FileCopyrightText: Pieter Vander Vennet +SPDX-License-Identifier: CC-BY-SA-4.0 \ No newline at end of file diff --git a/assets/layers/wayside_shrine/license_info.json b/assets/layers/wayside_shrine/license_info.json index ccb8d0588..5ed910b3e 100644 --- a/assets/layers/wayside_shrine/license_info.json +++ b/assets/layers/wayside_shrine/license_info.json @@ -1,4 +1,14 @@ [ + { + "path": "MountedShrineExample.jpg", + "license": "CC-BY-SA-4.0", + "authors": [ + "Pieter Vander Vennet" + ], + "sources": [ + "https://panoramax.mapcomplete.org" + ] + }, { "path": "shrine.svg", "license": "CC0-1.0", diff --git a/assets/layers/wayside_shrine/wayside_shrine.json b/assets/layers/wayside_shrine/wayside_shrine.json index 97ceadc16..c209f9cbb 100644 --- a/assets/layers/wayside_shrine/wayside_shrine.json +++ b/assets/layers/wayside_shrine/wayside_shrine.json @@ -55,6 +55,23 @@ "./assets/layers/wayside_shrine/shrine_example2.jpg", "./assets/layers/wayside_shrine/shrine_example3.jpg" ] + }, + { + "tags": [ + "historic=wayside_shrine" + ], + "title": { + "en": "a wayside shrine mounted on a wall" + }, + "snapToLayer": [ + "walls_and_buildings" + ], + "description": { + "en": "A wayside shrine typically shows a religious depiction, usually placed by a road or pathway. This shrine is mounted on a wall" + }, + "exampleImages": [ + "./assets/layers/wayside_shrine/MountedShrineExample.jpg" + ] } ], "tagRenderings": [ @@ -67,18 +84,22 @@ "freeform": { "key": "name", "type": "string", - "addExtraTags": ["noname="] + "addExtraTags": [ + "noname=" + ] }, "render": { "en": "The name of this shrine is {name}" }, - "mappings": [{ - "if": "noname=yes", - "alsoShowIf": "name=", - "then": { - "en": "This shrine does not have a name" + "mappings": [ + { + "if": "noname=yes", + "alsoShowIf": "name=", + "then": { + "en": "This shrine does not have a name" + } } - }] + ] }, { "question": {