From 30c1ed94c5ceaaac11d5dfdcca1d25c7796beebf Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Tue, 19 Jul 2022 11:57:48 +0200 Subject: [PATCH] Add missing icons, actually add reception desk layer --- .../layers/reception_desk/license_info.json | 12 +++ .../layers/reception_desk/reception_desk.json | 79 +++++++++++++++++++ .../layers/reception_desk/reception_desk.svg | 29 +++++++ assets/tagRenderings/audio_induction_loop.svg | 44 +++++++++++ .../audio_induction_loop_missing.svg | 53 +++++++++++++ 5 files changed, 217 insertions(+) create mode 100644 assets/layers/reception_desk/license_info.json create mode 100644 assets/layers/reception_desk/reception_desk.json create mode 100644 assets/layers/reception_desk/reception_desk.svg create mode 100644 assets/tagRenderings/audio_induction_loop.svg create mode 100644 assets/tagRenderings/audio_induction_loop_missing.svg diff --git a/assets/layers/reception_desk/license_info.json b/assets/layers/reception_desk/license_info.json new file mode 100644 index 000000000..5afdc20e7 --- /dev/null +++ b/assets/layers/reception_desk/license_info.json @@ -0,0 +1,12 @@ +[ + { + "path": "reception_desk.svg", + "license": "CC-BY-SA", + "authors": [ + "Robin Julien" + ], + "sources": [ + "https://www.ctsteward.com/" + ] + } +] \ No newline at end of file diff --git a/assets/layers/reception_desk/reception_desk.json b/assets/layers/reception_desk/reception_desk.json new file mode 100644 index 000000000..a9d3228c2 --- /dev/null +++ b/assets/layers/reception_desk/reception_desk.json @@ -0,0 +1,79 @@ +{ + "id": "reception_desk", + "name": { + "en": "Reception desks" + }, + "title": { + "render": { + "en": "Reception desk" + } + }, + "source": { + "osmTags": "amenity=reception_desk" + }, + "mapRendering": [ + { + "location": [ + "point", + "centroid" + ], + "icon": "circle:white;./assets/layers/reception_desk/reception_desk.svg", + "iconSize": "40,40,center" + } + ], + "tagRenderings": [ + "images", + { + "id": "desk-height", + "question": { + "en": "What is the height of the reception desk?
This is measured from the floor to the lowest usable part of the desk
" + }, + "render": { + "en": "The height of the desk is {canonical(desk:height)}" + }, + "freeform": { + "key": "desk:height", + "type": "pfloat" + } + }, + "induction-loop" + ], + "presets": [ + { + "tags": [ + "amenity=reception_desk" + ], + "title": { + "en": "a reception desk" + } + } + ], + "units": [ + { + "appliesToKey": [ + "desk:height" + ], + "applicableUnits": [ + { + "canonicalDenomination": "m", + "alternativeDenomination": [ + "meter" + ], + "human": { + "en": "meter" + } + }, + { + "canonicalDenomination": "cm", + "alternativeDenomination": [ + "centimeter", + "cms" + ], + "human": { + "en": "centimeter" + } + } + ] + } + ] +} \ No newline at end of file diff --git a/assets/layers/reception_desk/reception_desk.svg b/assets/layers/reception_desk/reception_desk.svg new file mode 100644 index 000000000..e8dd15070 --- /dev/null +++ b/assets/layers/reception_desk/reception_desk.svg @@ -0,0 +1,29 @@ + + + + + + + + + + diff --git a/assets/tagRenderings/audio_induction_loop.svg b/assets/tagRenderings/audio_induction_loop.svg new file mode 100644 index 000000000..b56e877be --- /dev/null +++ b/assets/tagRenderings/audio_induction_loop.svg @@ -0,0 +1,44 @@ + + diff --git a/assets/tagRenderings/audio_induction_loop_missing.svg b/assets/tagRenderings/audio_induction_loop_missing.svg new file mode 100644 index 000000000..b35a31606 --- /dev/null +++ b/assets/tagRenderings/audio_induction_loop_missing.svg @@ -0,0 +1,53 @@ + +