"
+ }
+ ]
+ }
+ ],
"minzoom": 13,
"tagRenderings": [
"images",
+ "level",
{
"id": "ref",
"question": {
@@ -162,7 +178,204 @@
"indoor=corridor"
]
}
- }
+ },
+ {
+ "id": "room-type",
+ "question": {
+ "en": "What type of room is this?"
+ },
+ "mappings": [
+ {
+ "if": "room=administration",
+ "then": {
+ "en": "This is a administrative room"
+ },
+ "icon": "./assets/layers/indoors/room_administration.svg"
+ },
+ {
+ "if": "room=auditorium",
+ "then": {
+ "en": "This is a auditorium"
+ },
+ "icon": "./assets/layers/indoors/room_auditorium.svg"
+ },
+ {
+ "if": "room=bedroom",
+ "then": {
+ "en": "This is a bedroom"
+ },
+ "icon": "./assets/layers/indoors/room_bedroom.svg"
+ },
+ {
+ "if": "room=chapel",
+ "then": {
+ "en": "This is a chapel"
+ },
+ "icon": "./assets/layers/indoors/room_chapel.svg"
+ },
+ {
+ "if": "room=class",
+ "then": {
+ "en": "This is a classroom"
+ },
+ "icon": "./assets/layers/indoors/room_class.svg"
+ },
+ {
+ "if": "room=classroom",
+ "then": {
+ "en": "This is a classroom"
+ },
+ "icon": "./assets/layers/indoors/room_class.svg",
+ "hideInAnswer": true
+ },
+ {
+ "if": "room=computer",
+ "then": {
+ "en": "This is a computer room"
+ },
+ "icon": "./assets/layers/indoors/room_computer.svg"
+ },
+ {
+ "if": "room=conference",
+ "then": {
+ "en": "This is a conference room"
+ },
+ "icon": "./assets/layers/indoors/room_conference.svg"
+ },
+ {
+ "if": "room=crypt",
+ "then": {
+ "en": "This is a crypt"
+ },
+ "icon": "./assets/layers/indoors/room_crypt.svg"
+ },
+ {
+ "if": "room=kitchen",
+ "then": {
+ "en": "This is a kitchen"
+ },
+ "icon": "./assets/layers/indoors/room_kitchen.svg"
+ },
+ {
+ "if": "room=laboratory",
+ "then": {
+ "en": "This is a laboratory"
+ },
+ "icon": "./assets/layers/indoors/room_laboratory.svg"
+ },
+ {
+ "if": "room=library",
+ "then": {
+ "en": "This is a library"
+ },
+ "icon": "./assets/layers/indoors/room_library.svg"
+ },
+ {
+ "if": "room=locker",
+ "then": {
+ "en": "This is a locker room"
+ },
+ "icon": "./assets/layers/indoors/room_locker.svg"
+ },
+ {
+ "if": "room=nursery",
+ "then": {
+ "en": "This is a nursery"
+ },
+ "icon": "./assets/layers/indoors/room_nursery.svg"
+ },
+ {
+ "if": "room=office",
+ "then": {
+ "en": "This is an office"
+ },
+ "icon": "./assets/layers/indoors/room_office.svg"
+ },
+ {
+ "if": "room=prison_cell",
+ "then": {
+ "en": "This is a prison_cell"
+ },
+ "icon": "./assets/layers/indoors/room_prison_cell.svg"
+ },
+ {
+ "if": "room=restaurant",
+ "then": {
+ "en": "This is a restaurant"
+ },
+ "icon": "./assets/layers/indoors/room_restaurant.svg"
+ },
+ {
+ "if": "room=security_check",
+ "then": {
+ "en": "This is a room to perform security checks"
+ },
+ "icon": "./assets/layers/indoors/room_security_check.svg"
+ },
+ {
+ "if": "room=sport",
+ "then": {
+ "en": "This is a sport room"
+ },
+ "icon": "./assets/layers/indoors/room_sport.svg"
+ },
+ {
+ "if": "room=storage",
+ "then": {
+ "en": "This is a storage room"
+ },
+ "icon": "./assets/layers/indoors/room_storage.svg"
+ },
+ {
+ "if": "room=technical",
+ "then": {
+ "en": "This is a technical room"
+ },
+ "icon": "./assets/layers/indoors/room_technical.svg"
+ },
+ {
+ "if": "room=toilets",
+ "then": {
+ "en": "These are toilets"
+ },
+ "icon": "./assets/layers/indoors/room_toilets.svg"
+ },
+ {
+ "if": "room=waiting",
+ "then": {
+ "en": "This is a waiting room"
+ },
+ "icon": "./assets/layers/indoors/room_waiting.svg"
+ }
+ ]
+ },
+ {
+ "id": "room-capacity",
+ "question": {
+ "en": "How much people can at most fit in this room?"
+ },
+ "condition": {
+ "or": [
+ "room=waiting",
+ "room=restaurant",
+ "room=office",
+ "room=nursery",
+ "room=conference",
+ "room=auditorium",
+ "room=chapel",
+ "room=bedroom",
+ "room=classroom"
+ ]
+ },
+ "render": {
+ "en": "At most {capacity} people fit this room"
+ },
+ "freeform": {
+ "key": "capacity",
+ "type": "pnat"
+ }
+ },
+ "etymology.wikipedia-etymology"
],
"mapRendering": [
{
@@ -222,7 +435,7 @@
{
"if": {
"or": [
- "room=adminstration",
+ "room=administration",
"room=auditorium",
"room=bedroom",
"room=chapel",
diff --git a/assets/layers/questions/dogs_allowed.svg b/assets/layers/questions/dogs_allowed.svg
new file mode 100644
index 000000000..0f47ee8bf
--- /dev/null
+++ b/assets/layers/questions/dogs_allowed.svg
@@ -0,0 +1,70 @@
+
+
diff --git a/assets/layers/questions/dogs_allowed.svg.license b/assets/layers/questions/dogs_allowed.svg.license
new file mode 100644
index 000000000..e14c126f7
--- /dev/null
+++ b/assets/layers/questions/dogs_allowed.svg.license
@@ -0,0 +1,2 @@
+SPDX-FileCopyrightText: OpenClipArt
+SPDX-License-Identifier: PD
\ No newline at end of file
diff --git a/assets/layers/questions/dogs_leashed.svg b/assets/layers/questions/dogs_leashed.svg
new file mode 100644
index 000000000..d048b5d58
--- /dev/null
+++ b/assets/layers/questions/dogs_leashed.svg
@@ -0,0 +1,54 @@
+
+
+
+
diff --git a/assets/layers/questions/dogs_leashed.svg.license b/assets/layers/questions/dogs_leashed.svg.license
new file mode 100644
index 000000000..e32d67ee6
--- /dev/null
+++ b/assets/layers/questions/dogs_leashed.svg.license
@@ -0,0 +1,2 @@
+SPDX-FileCopyrightText: NPS Graphics, converted by User:ZyMOS
+SPDX-License-Identifier: PD
\ No newline at end of file
diff --git a/assets/layers/questions/license_info.json b/assets/layers/questions/license_info.json
index 65a360bb6..8985470b3 100644
--- a/assets/layers/questions/license_info.json
+++ b/assets/layers/questions/license_info.json
@@ -39,6 +39,26 @@
"https://www.onlinewebfonts.com/icon/464488"
]
},
+ {
+ "path": "dogs_allowed.svg",
+ "license": "PUBLIC-DOMAIN",
+ "authors": [
+ "OpenClipArt"
+ ],
+ "sources": [
+ "https://freesvg.org/no-dogs-round-sign-vector-graphics"
+ ]
+ },
+ {
+ "path": "dogs_leashed.svg",
+ "license": "PUBLIC-DOMAIN",
+ "authors": [
+ " \tNPS Graphics, converted by User:ZyMOS"
+ ],
+ "sources": [
+ "https://commons.wikimedia.org/wiki/File:Pictograms-nps-pets_on_leash-2.svg"
+ ]
+ },
{
"path": "nfc_card.svg",
"license": "CC0-1.0",
@@ -49,6 +69,16 @@
"https://wens.be/free-antwerpenize-bicycle-font"
]
},
+ {
+ "path": "no_dogs.svg",
+ "license": "Public Domain",
+ "authors": [
+ "OpenClipArt"
+ ],
+ "sources": [
+ "https://freesvg.org/no-dogs-round-sign-vector-graphics"
+ ]
+ },
{
"path": "no_smoking.svg",
"license": "CC0-1.0",
diff --git a/assets/layers/questions/no_dogs.svg b/assets/layers/questions/no_dogs.svg
new file mode 100644
index 000000000..888ae60de
--- /dev/null
+++ b/assets/layers/questions/no_dogs.svg
@@ -0,0 +1,87 @@
+
+
diff --git a/assets/layers/questions/no_dogs.svg.license b/assets/layers/questions/no_dogs.svg.license
new file mode 100644
index 000000000..8fc3e04c7
--- /dev/null
+++ b/assets/layers/questions/no_dogs.svg.license
@@ -0,0 +1,2 @@
+SPDX-FileCopyrightText: OpenClipArt
+SPDX-License-Identifier: Public Domain
\ No newline at end of file
diff --git a/assets/layers/questions/questions.json b/assets/layers/questions/questions.json
index 2b351a49e..af7f5742d 100644
--- a/assets/layers/questions/questions.json
+++ b/assets/layers/questions/questions.json
@@ -130,7 +130,7 @@
"id": "reviews",
"description": "Shows the reviews module (including the possibility to leave a review)",
"render": {
- "*": "{reviews()}"
+ "*": "{create_review()}{list_reviews()}"
}
},
{
@@ -487,6 +487,7 @@
"mappings": [
{
"if": "dog=yes",
+ "icon": "./assets/layers/questions/dogs_allowed.svg",
"then": {
"en": "Dogs are allowed",
"nl": "honden zijn toegelaten",
@@ -515,6 +516,7 @@
},
{
"if": "dog=no",
+ "icon": "./assets/layers/questions/no_dogs.svg",
"then": {
"en": "Dogs are
not allowed",
"nl": "honden zijn
niet toegelaten",
@@ -542,6 +544,7 @@
},
{
"if": "dog=leashed",
+ "icon": "./assets/layers/questions/dogs_leashed.svg",
"then": {
"en": "Dogs are allowed, but they have to be leashed",
"nl": "honden zijn
enkel aan de leiband welkom",
@@ -568,6 +571,8 @@
},
{
"if": "dog=unleashed",
+ "icon": "./assets/layers/questions/dogs_allowed.svg",
+
"then": {
"en": "Dogs are allowed and can run around freely",
"nl": "honden zijn welkom en mogen vrij rondlopen",
@@ -1619,8 +1624,9 @@
},
{
"id": "multilevels",
- "builtin": "level",
+ "builtin": "single_level",
"override": {
+ "=labels": [],
"question": {
"en": "What levels does this elevator go to?",
"de": "Auf welchen Geschossen hält dieser Aufzug?",
@@ -1657,7 +1663,22 @@
}
},
{
- "id": "level",
+ "id": "repeated",
+ "labels": [
+ "level"
+ ],
+ "condition": "repeat_on~*",
+ "render": {
+ "en": "Multiple, identical objects can be found on floors {repeat_on}.",
+ "nl": "Er zijn verschillende, identieke objecten op verdiepingen {repeat_on}."
+ }
+ },
+ {
+ "id": "single_level",
+ "labels": [
+ "level"
+ ],
+ "condition": "repeat_on=",
"question": {
"nl": "Op welke verdieping bevindt dit punt zich?",
"en": "On what level is this feature located?",
diff --git a/assets/layers/shops/shops.json b/assets/layers/shops/shops.json
index 8d6096d8e..ee0cf2bc1 100644
--- a/assets/layers/shops/shops.json
+++ b/assets/layers/shops/shops.json
@@ -348,6 +348,11 @@
"override": {
"render": "./assets/layers/id_presets/maki-shop.svg",
"+mappings": [
+ {
+ "#": "Layer icon rendering",
+ "if": "id=",
+ "then": "circle:white;./assets/layers/id_presets/maki-shop.svg"
+ },
{
"if": {
"or": [
diff --git a/assets/svg/license_info.json b/assets/svg/license_info.json
index f84818f4c..d6643c1c3 100644
--- a/assets/svg/license_info.json
+++ b/assets/svg/license_info.json
@@ -723,6 +723,16 @@
"authors": [],
"sources": []
},
+ {
+ "path": "mangrove_logo.svg",
+ "license": "LOGO",
+ "authors": [
+ "Mangrove.reviews"
+ ],
+ "sources": [
+ "https://mangrove.reviews/"
+ ]
+ },
{
"path": "mapcomplete_logo.svg",
"license": "LOGO AND CC-BY-SA-4.0",
diff --git a/assets/svg/mangrove_logo.svg b/assets/svg/mangrove_logo.svg
new file mode 100644
index 000000000..f79997020
--- /dev/null
+++ b/assets/svg/mangrove_logo.svg
@@ -0,0 +1,47 @@
+
+
+
+
diff --git a/assets/svg/star.svg b/assets/svg/star.svg
index 61301ada9..84cc67ff2 100644
--- a/assets/svg/star.svg
+++ b/assets/svg/star.svg
@@ -1,6 +1,52 @@
-
-