Add a few more questions to the toilet theme
This commit is contained in:
parent
4f456e8a7f
commit
9ba2777871
9 changed files with 178 additions and 63 deletions
|
@ -1,36 +1,36 @@
|
|||
{
|
||||
"id": "cluster_style",
|
||||
"description": "The style for the clustering in all themes.",
|
||||
"source": {
|
||||
"osmTags": "tileId~*"
|
||||
},
|
||||
"color": {
|
||||
"render": "#3c3",
|
||||
"mappings": [
|
||||
{
|
||||
"if": "count>200",
|
||||
"then": "#f33"
|
||||
},
|
||||
{
|
||||
"if": "count>100",
|
||||
"then": "#c93"
|
||||
},
|
||||
{
|
||||
"if": "count>50",
|
||||
"then": "#cc3"
|
||||
}
|
||||
]
|
||||
},
|
||||
"width": {
|
||||
"render": "1"
|
||||
},
|
||||
"label": {
|
||||
"render": "<div class='rounded-full text-xl font-bold' style='width: 2rem; height: 2rem; background: white'>{count}</div>",
|
||||
"mappings": [
|
||||
{
|
||||
"if": "count>99",
|
||||
"then": "<div class='rounded-full text-xl font-bold flex flex-col' style='width: 2.5rem; height: 2.5rem; background: white'>>99</div>"
|
||||
}
|
||||
]
|
||||
}
|
||||
"id": "cluster_style",
|
||||
"description": "The style for the clustering in all themes.",
|
||||
"source": {
|
||||
"osmTags": "tileId~*"
|
||||
},
|
||||
"color": {
|
||||
"render": "#3c3",
|
||||
"mappings": [
|
||||
{
|
||||
"if": "count>200",
|
||||
"then": "#f33"
|
||||
},
|
||||
{
|
||||
"if": "count>100",
|
||||
"then": "#c93"
|
||||
},
|
||||
{
|
||||
"if": "count>50",
|
||||
"then": "#cc3"
|
||||
}
|
||||
]
|
||||
},
|
||||
"width": {
|
||||
"render": "1"
|
||||
},
|
||||
"label": {
|
||||
"render": "<div class='rounded-full text-xl font-bold' style='width: 2rem; height: 2rem; background: white'>{count}</div>",
|
||||
"mappings": [
|
||||
{
|
||||
"if": "count>99",
|
||||
"then": "<div class='rounded-full text-xl font-bold flex flex-col' style='width: 2.5rem; height: 2.5rem; background: white'>>99</div>"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
|
@ -82,4 +82,4 @@
|
|||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
|
@ -407,6 +407,52 @@
|
|||
}
|
||||
],
|
||||
"id": "toilet-changing_table:location"
|
||||
},
|
||||
{
|
||||
"id": "toilet-handwashing",
|
||||
"question": {
|
||||
"en": "Do these toilets have a sink to wash your hands?",
|
||||
"nl": "Hebben deze toiletten een lavabo om de handen te wassen?"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": "toilets:handwashing=yes",
|
||||
"then": {
|
||||
"en": "This toilets have a sink to wash your hands",
|
||||
"nl": "Deze toiletten hebben een lavabo waar men de handen kan wassen"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "toilets:handwashing=no",
|
||||
"then": {
|
||||
"en": "This toilets <b>don't</b> have a sink to wash your hands",
|
||||
"nl": "Deze toiletten hebben <b>geen</b> lavabo waar men de handen kan wassen"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "toilet-has-paper",
|
||||
"question": {
|
||||
"en": "Does one have to bring their own toilet paper to this toilet?",
|
||||
"nl": "Moet je je eigen toiletpappier meenemen naar deze toilet?"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": "toilets:paper_supplied=yes",
|
||||
"then": {
|
||||
"en": "Toilet paper is equipped with toilet paper",
|
||||
"nl": "Deze toilet is voorzien van toiletpapier"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "toilets:paper_supplied=no",
|
||||
"then": {
|
||||
"en": "You have to bring your own toilet paper to this toilet",
|
||||
"nl": "Je moet je eigen toiletpapier meebrengen naar deze toilet"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"filter": [
|
||||
|
|
|
@ -170,4 +170,4 @@
|
|||
"color": {
|
||||
"render": "#FFC0CB"
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue