forked from MapComplete/MapComplete
Add contact information to recycling centers
This commit is contained in:
parent
bc890f5476
commit
793d765ead
5 changed files with 73 additions and 4 deletions
|
@ -61,7 +61,7 @@ export default class Constants {
|
|||
* For every bin, the totals are uploaded as metadata
|
||||
*/
|
||||
static distanceToChangeObjectBins = [25, 50, 100, 500, 1000, 5000, Number.MAX_VALUE]
|
||||
static themeOrder = ["personal", "cyclofix", "hailhydrant", "bookcases", "toilets", "aed"];
|
||||
static themeOrder = ["personal", "cyclofix", "waste" , "etymology", "food","cafes_and_pubs", "playgrounds", "hailhydrant", "toilets", "aed", "bookcases"];
|
||||
|
||||
private static isRetina(): boolean {
|
||||
if (Utils.runningFromConsole) {
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
"presets": [],
|
||||
"mapRendering": [
|
||||
{
|
||||
"icon": "direction_gradient:var(--catch-detail-color)",
|
||||
"icon": "direction_gradient:var(--catch-detail-color)",
|
||||
"iconSize": "200,200,center",
|
||||
"location": [
|
||||
"point",
|
||||
|
|
|
@ -22,12 +22,20 @@
|
|||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": "recycling_type=centre",
|
||||
"if": "name~*",
|
||||
"then": {
|
||||
"*": "{name}",
|
||||
"en": "Recycling centre",
|
||||
"nl": "Recyclingcentrum"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "recycling_type=centre",
|
||||
"then": {
|
||||
"en": "Recycling container",
|
||||
"nl": "Recyclingcontainer"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "recycling_type=container",
|
||||
"then": {
|
||||
|
@ -419,6 +427,7 @@
|
|||
}
|
||||
],
|
||||
"tagRenderings": [
|
||||
"images",
|
||||
{
|
||||
"id": "recycling-type",
|
||||
"question": {
|
||||
|
@ -471,6 +480,30 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "recycling-centre-name",
|
||||
"question": {
|
||||
"en": "What is the name of this recycling centre?",
|
||||
"nl": "Wat is de naam van dit recyclagecentrum?"
|
||||
},
|
||||
"render": {
|
||||
"en": "This recycling centre is named <b>{name}</b>",
|
||||
"nl": "Dit recyclagecentrum heet <b>{name}</b>"
|
||||
},
|
||||
"freeform": {
|
||||
"key": "name"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": "noname=yes",
|
||||
"then": {
|
||||
"en": "This recycling centre doesn't have a specific name",
|
||||
"nl": "Dit recyclagecentrum heeft geen specifieke naam"
|
||||
}
|
||||
}
|
||||
],
|
||||
"condition": "recycling_type=centre"
|
||||
},
|
||||
{
|
||||
"id": "container-location",
|
||||
"question": {
|
||||
|
@ -770,6 +803,16 @@
|
|||
"type": "string"
|
||||
}
|
||||
},
|
||||
{
|
||||
"builtin": [
|
||||
"website",
|
||||
"email",
|
||||
"phone"
|
||||
],
|
||||
"override": {
|
||||
"condition": "recycling_type=centre"
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "opening_hours",
|
||||
"render": "{opening_hours_table()}",
|
||||
|
@ -946,7 +989,9 @@
|
|||
]
|
||||
}
|
||||
],
|
||||
"deletion": {"neededChangesets": 1},
|
||||
"deletion": {
|
||||
"neededChangesets": 1
|
||||
},
|
||||
"allowMove": {
|
||||
"enableRelocation": false,
|
||||
"enableImproveAccuracy": true
|
||||
|
|
|
@ -4294,6 +4294,15 @@
|
|||
},
|
||||
"question": "What can be recycled here?"
|
||||
},
|
||||
"recycling-centre-name": {
|
||||
"mappings": {
|
||||
"0": {
|
||||
"then": "This recycling centre doesn't have a specific name"
|
||||
}
|
||||
},
|
||||
"question": "What is the name of this recycling centre?",
|
||||
"render": "This recycling centre is named <b>{name}</b>"
|
||||
},
|
||||
"recycling-type": {
|
||||
"mappings": {
|
||||
"0": {
|
||||
|
@ -4316,6 +4325,9 @@
|
|||
},
|
||||
"1": {
|
||||
"then": "Recycling container"
|
||||
},
|
||||
"2": {
|
||||
"then": "Recycling container"
|
||||
}
|
||||
},
|
||||
"render": "Recycling facility"
|
||||
|
|
|
@ -4086,6 +4086,15 @@
|
|||
},
|
||||
"question": "Wat kan hier gerecycled worden?"
|
||||
},
|
||||
"recycling-centre-name": {
|
||||
"mappings": {
|
||||
"0": {
|
||||
"then": "Dit recyclagecentrum heeft geen specifieke naam"
|
||||
}
|
||||
},
|
||||
"question": "Wat is de naam van dit recyclagecentrum?",
|
||||
"render": "Dit recyclagecentrum heet <b>{name}</b>"
|
||||
},
|
||||
"recycling-type": {
|
||||
"mappings": {
|
||||
"0": {
|
||||
|
@ -4108,6 +4117,9 @@
|
|||
},
|
||||
"1": {
|
||||
"then": "Recyclingcontainer"
|
||||
},
|
||||
"2": {
|
||||
"then": "Recyclingcontainer"
|
||||
}
|
||||
},
|
||||
"render": "Recyclingfaciliteit"
|
||||
|
|
Loading…
Reference in a new issue