fixed more small things

This commit is contained in:
AlexanderRebai 2022-07-25 14:45:11 +00:00
parent c7f4628116
commit bd6ed338ae
15 changed files with 73 additions and 38 deletions

View file

@ -156,6 +156,7 @@
},
"tagRenderings": [
"images",
"level",
{
"question": {
"nl": "Wat is de naam van dit café?",

View file

@ -32,10 +32,10 @@
"osmTags": {
"and": [
{
"or": [
"amenity=drinking_water",
"drinking_water=yes"
]
"or": [
"amenity=drinking_water",
"drinking_water=yes"
]
},
"man_made!=reservoir_covered",
"access!=permissive",

View file

@ -15,6 +15,7 @@
},
"tagRenderings": [
"images",
"multilevels",
{
"id": "operational_status",
"question": {

View file

@ -34,6 +34,7 @@
},
"tagRenderings": [
"images",
"level",
{
"id": "Entrance type",
"question": {

View file

@ -137,6 +137,7 @@
},
"tagRenderings": [
"images",
"level",
{
"question": {
"nl": "Wat is de naam van deze eetgelegenheid?",

View file

@ -1,7 +1,7 @@
{
"id": "id_presets",
"description": {
"en": "Layer containing various presets and questions generated by ID. These are meant to be reused in other layers by importing the tagRenderings with `id_preset.<tagrendering>"
"en": "Layer containing various presets and questions generated by ID. These are meant to be reused in other layers by importing the tagRenderings with `id_preset.<tagrendering>"
},
"#dont-translate": "*",
"source": {

View file

@ -27,6 +27,7 @@
},
"tagRenderings": [
"images",
"level",
{
"id": "parking-type",
"mappings": [

View file

@ -37,6 +37,7 @@
},
"tagRenderings": [
"images",
"level",
{
"question": {
"en": "What material is this picnic table made of?",

View file

@ -26,6 +26,7 @@
],
"tagRenderings": [
"images",
"level",
{
"id": "desk-height",
"question": {

View file

@ -83,6 +83,7 @@
},
"tagRenderings": [
"images",
"level",
{
"question": {
"en": "What is the name of this shop?",
@ -97,7 +98,14 @@
"freeform": {
"key": "name"
},
"id": "shops-name"
"id": "shops-name",
"en": {
"question": "What kind of shop is this?",
"render": "This is a {shop}"
},
"nl": {
"question": "Wat voor soort winkel is dit?"
}
},
{
"builtin": "id_presets.shop_types",

View file

@ -65,6 +65,7 @@
],
"tagRenderings": [
"images",
"level",
{
"question": {
"en": "Are these toilets publicly accessible?",
@ -526,7 +527,6 @@
]
}
},
"level",
"description"
],
"filter": [
@ -541,7 +541,10 @@
"es": "Accesible con sillas de ruedas"
},
"osmTags": {
"or": ["wheelchair=yes", "wheelchair=designated"]
"or": [
"wheelchair=yes",
"wheelchair=designated"
]
}
}
]
@ -619,7 +622,10 @@
"mappings": [
{
"if": {
"or": ["wheelchair=yes", "wheelchair=designated"]
"or": [
"wheelchair=yes",
"wheelchair=designated"
]
},
"then": "circle:white;./assets/layers/toilet/wheelchair.svg"
},
@ -634,7 +640,6 @@
}
]
},
"iconBadges": [
{
"if": "opening_hours~*",

View file

@ -100,7 +100,6 @@
},
"reviews": {
"description": "Shows the reviews module (including the possibility to leave a review)",
"render": "{reviews()}"
},
"minimap": {
@ -867,6 +866,22 @@
"description": "Shows a table with all the tags of the feature",
"render": "{all_tags()}"
},
"multilevels": {
"builtin": "level",
"override": {
"question": {
"en": "What levels does this elevator go to?"
},
"render": {
"en": "This elevator goes to floors {multilevels}"
},
"freeform": {
"key": "level",
"type": "string"
},
"multiAnswer" : true
}
},
"level": {
"question": {
"nl": "Op welke verdieping bevindt dit punt zich?",

View file

@ -1,20 +1,20 @@
{
"id": "governments",
"title": {
"en": "Governmental Offices"
},
"description": {
"en": "On this map, Governmental offices are shown and can be easily added"
},
"maintainer": "MapComplete",
"icon": "./assets/themes/onwheels/crest.svg",
"version": "0",
"startLat": 50.8465573,
"defaultBackgroundId": "CartoDB.Voyager",
"startLon": 4.351697,
"startZoom": 16,
"widenFactor": 2,
"layers": [
"governments"
]
"id": "governments",
"title": {
"en": "Governmental Offices"
},
"description": {
"en": "On this map, Governmental offices are shown and can be easily added"
},
"maintainer": "MapComplete",
"icon": "./assets/themes/onwheels/crest.svg",
"version": "0",
"startLat": 50.8465573,
"defaultBackgroundId": "CartoDB.Voyager",
"startLon": 4.351697,
"startZoom": 16,
"widenFactor": 2,
"layers": [
"governments"
]
}

View file

@ -4,7 +4,7 @@
"en": "OnWheels"
},
"description": {
"en": "On this map, publicly wheelchair accessible places are shown and can be easily added"
"en": "On this map, publicly weelchair accessible places are shown and can be easily added"
},
"maintainer": "MapComplete",
"icon": "./assets/themes/onwheels/crest.svg",
@ -14,7 +14,7 @@
"startLon": 4.351697,
"startZoom": 16,
"widenFactor": 2,
"hideFromOverview": true,
"hideFromOverview": false,
"layers": [
{
"builtin": "bike_repair_station",
@ -226,10 +226,10 @@
]
},
"render": {
"en": "<a href='#{_poi_entrance:id}'>This door has a width of {canonical(_poi_entrance:width)} meters</a>",
"nl": "<a href='#{_poi_entrance:id}'>Deze deur heeft een breedte van {canonical(_poi_entrance:width)} meter</a>",
"de": "<a href='#{_poi_entrance:id}'>Diese Tür hat eine Durchgangsbreite von {canonical(_poi_entrance:width)} Meter</a>",
"es": "<a href='#{_poi_entrance:id}'>Esta puerta tiene una ancho de {canonical(_poi_entrance:width)} metros</a>"
"en": "This door has a width of {canonical(_poi_entrance:width)} meter",
"nl": "Deze deur heeft een breedte van {canonical(_poi_entrance:width)} meter",
"de": "Diese Tür hat eine Durchgangsbreite von {canonical(_poi_entrance:width)} Meter",
"es": "Esta puerta tiene una ancho de {canonical(_poi_entrance:width)} metros"
},
"freeform": {
"key": "_poi_entrance:width",