mapcomplete/assets/themes/aed/aed.json
2020-08-24 19:15:28 +02:00

134 lines
No EOL
3.8 KiB
JSON

{
"language": [
"en",
"fr"
],
"startLat": "0",
"startLon": "0",
"startZoom": "12",
"maintainer": "Pieter Vander Vennet",
"layers": [
{
"id": "Defibrillator",
"title": {
"key": "*",
"render": {
"en": "Defibrillator",
"fr": "Défibrillateur"
}
},
"icon": {
"key": "*",
"render": "./assets/themes/aed/aed.svg"
},
"color": {
"render": "#0000ff",
"key": "*"
},
"description": {
"en": "A defibrillator",
"fr": "Un défibrillateur"
},
"minzoom": "12",
"presets": [
{
"title": {
"en": "Defibrillator",
"fr": "Défibrillateur"
},
"tags": "emergency=defibrillator",
"description": "A defibrillator"
}
],
"tagRenderings": [
{
"mappings": [
{
"then": {
"en": "This defibrillator is located indoors",
"fr": "Ce défibrillateur est en intérieur (dans un batiment)"
},
"if": "indoor=yes"
},
{
"then": {
"en": "This defibrillator is located outdoors",
"fr": "Ce défibrillateur est situé en extérieur"
},
"if": "indoor=no"
}
],
"question": {
"en": "Is this defibrillator located indoors?",
"fr": "Ce défibrillateur est-il disposé en intérieur ?"
},
"type": "text"
},
{
"mappings": [
{
"then": {
"en": "Publicly accessible",
"fr": "Librement accessible"
},
"if": "access=yes"
},
{
"then": {
"en": "Only accessible to customers",
"fr": "Réservé aux clients du lieu"
},
"if": "access=customers"
},
{
"if": "access=private",
"then": {
"en": "Not accessible to the general public (e.g. only accesible to staff, the owners, ...)",
"fr": "Non accessible au public (par exemple réservé au personnel, au propriétaire, ...)"
}
}
],
"question": {
"en": "Is this defibrillator freely accessible?",
"fr": "Ce défibrillateur est-il librement accessible ?"
},
"type": "text",
"key": "access",
"condition": "indoor=yes"
},
{
"key": "level",
"mappings": [],
"question": {
"en": "On which floor is this defibrillator located?",
"fr": "À quel étage est situé ce défibrillateur ?"
},
"type": "int",
"render": {
"en": "This defibrallator is on floor {level}",
"fr": "Ce défibrillateur est à l'étage {level}"
},
"condition": "indoor=yes&access!=private"
},
{
"key": "defibrillator:location",
"mappings": [],
"question": {
"en": "Please give some explanation on where the defibrillator can be found",
"fr": "Veuillez indiquez plus précisément où se situe le défibrillateur"
},
"type": "text",
"render": "{defibrillator:location}"
}
],
"overpassTags": "emergency=defibrillator"
}
],
"title": "Open AED Map",
"icon": "./assets/themes/aed/aed.svg",
"name": "aed",
"description": {
"en": "On this map, one can find and mark nearby defibrillators",
"fr": "Sur cette carte, vous pouvez trouver et améliorer les informations sur les défibrillateurs"
}
}