mapcomplete/assets/layers/bicycle_library/bicycle_library.json
2021-05-27 21:20:04 +02:00

193 lines
No EOL
5 KiB
JSON
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"id": "bicycle_library",
"name": {
"en": "Bicycle library",
"nl": "Fietsbibliotheek",
"fr": "Vélothèque"
},
"minzoom": 8,
"source": {
"osmTags": "amenity=bicycle_library"
},
"title": {
"render": {
"en": "Bicycle library",
"nl": "Fietsbibliotheek",
"fr": "Vélothèque"
},
"mappings": [
{
"if": "name~*",
"then": "<i>{name}</i>"
}
]
},
"titleIcons": [
{
"condition": {
"or": [
"service:bicycle:pump=yes",
"service:bicycle:pump=separate"
]
},
"render": "<img src='./assets/layers/bike_shop/pump.svg'/>"
},
"defaults"
],
"description": {
"en": "A facility where bicycles can be lent for longer period of times",
"nl": "Een plaats waar men voor langere tijd een fiets kan lenen",
"fr": "Un lieu où des vélos peuvent être empruntés pour un temps plus long",
"hu": "Létesítmény, ahonnan kerékpár kölcsönözhető hosszabb időre"
},
"tagRenderings": [
"images",
{
"question": {
"en": "What is the name of this bicycle library?",
"nl": "Wat is de naam van deze fietsbieb?",
"fr": "Quel est le nom de cette vélothèque ?"
},
"render": {
"en": "This bicycle library is called {name}",
"nl": "Deze fietsbieb heet {name}",
"fr": "Cette vélothèque s'appelle {name}"
},
"freeform": {
"key": "name"
}
},
"website",
"phone",
"email",
"opening_hours",
{
"question": {
"en": "How much does lending a bicycle cost?",
"nl": "Hoeveel kost het huren van een fiets?",
"fr": "Combien coûte l'emprunt d'un vélo ?",
"hu": "Mennyibe kerül egy kerékpár kölcsönzése?"
},
"render": {
"en": "Lending a bicycle costs {charge}",
"nl": "Een fiets huren kost {charge}",
"fr": "Emprunter un vélo coûte {charge}",
"hu": "Egy kerékpár kölcsönzése {charge}"
},
"freeform": {
"key": "charge",
"addExtraTags": [
"fee=yes"
]
},
"mappings": [
{
"if": {
"and": [
"fee=no",
"charge="
]
},
"then": {
"en": "Lending a bicycle is free",
"nl": "Een fiets huren is gratis",
"fr": "L'emprunt de vélo est gratuit",
"hu": "A kerékpárkölcsönzés ingyenes"
}
},
{
"if": {
"and": [
"fee=yes",
"charge=€20warranty + €20/year"
]
},
"then": {
"en": "Lending a bicycle costs €20/year and €20 warranty",
"nl": "Een fiets huren kost €20/jaar en €20 waarborg",
"fr": "Emprunter un vélo coûte 20€/an et 20€ de garantie"
}
}
]
},
{
"question": {
"en": "Who can lend bicycles here?",
"nl": "Voor wie worden hier fietsen aangeboden?",
"fr": "Qui peut emprunter des vélos ici ?",
"hu": "Ki kölcsönözhet itt kerékpárt?"
},
"multiAnswer": true,
"mappings": [
{
"if": "bicycle_library:for=child",
"then": {
"nl": "Aanbod voor kinderen",
"en": "Bikes for children available",
"fr": "Vélos pour enfants disponibles",
"hu": ""
}
},
{
"if": "bicycle_library:for=adult",
"then": {
"nl": "Aanbod voor volwassenen",
"en": "Bikes for adult available",
"fr": "Vélos pour adultes disponibles"
}
},
{
"if": "bicycle_library:for=disabled",
"then": {
"nl": "Aanbod voor personen met een handicap",
"en": "Bikes for disabled persons available",
"fr": "Vélos pour personnes handicapées disponibles"
}
}
]
},
"description"
],
"hideUnderlayingFeaturesMinPercentage": 1,
"presets": [
{
"title": {
"en": "Fietsbibliotheek",
"nl": "Bicycle library"
},
"tags": [
"amenity=bicycle_library"
],
"description": {
"nl": "Een fietsbieb heeft een collectie fietsen die leden mogen lenen",
"en": "A bicycle library has a collection of bikes which can be lent",
"fr": "Une vélothèque a une collection de vélos qui peuvent être empruntés"
}
}
],
"icon": {
"render": "pin:#22ff55;./assets/layers/bicycle_library/bicycle_library.svg"
},
"iconOverlays": [
{
"if": "opening_hours~*",
"then": "isOpen",
"badge": true
},
{
"if": "service:bicycle:pump=yes",
"then": "circle:#e2783d;./assets/layers/bike_repair_station/pump.svg",
"badge": true
}
],
"width": {
"render": "1"
},
"iconSize": {
"render": "50,50,bottom"
},
"color": {
"render": "#c00"
},
"wayHandling": 2
}