forked from MapComplete/MapComplete
Split out layers
This commit is contained in:
parent
983475afb0
commit
c1599369b4
4 changed files with 140 additions and 189 deletions
73
assets/layers/ticket_validator/ticket_validator.json
Normal file
73
assets/layers/ticket_validator/ticket_validator.json
Normal file
|
@ -0,0 +1,73 @@
|
|||
{
|
||||
"id": "ticket_validator",
|
||||
"name": {
|
||||
"en": "Ticket Validators"
|
||||
},
|
||||
"description": {
|
||||
"en": "Find ticket validators to validate public transport tickets"
|
||||
},
|
||||
"source": {
|
||||
"osmTags": "amenity=ticket_validator"
|
||||
},
|
||||
"minzoom": 19,
|
||||
"title": {
|
||||
"render": {
|
||||
"en": "Ticket Validator"
|
||||
}
|
||||
},
|
||||
"tagRenderings": [
|
||||
"images",
|
||||
"level",
|
||||
{
|
||||
"id": "validator-operator",
|
||||
"question": {
|
||||
"en": "Who is the operator of this ticket validator?"
|
||||
},
|
||||
"render": {
|
||||
"en": "This ticket validator is operated by {operator}"
|
||||
},
|
||||
"freeform": {
|
||||
"key": "operator",
|
||||
"type": "string",
|
||||
"placeholder": {
|
||||
"en": "Name of the operator"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"builtin": "payment-options",
|
||||
"override": {
|
||||
"mappings+": [
|
||||
{
|
||||
"if": "payment:OV-Chipkaart=yes",
|
||||
"ifnot": "payment:OV-Chipkaart=no",
|
||||
"then": {
|
||||
"en": "This ticket validator accepts OV-Chipkaart"
|
||||
},
|
||||
"hideInAnswer": "_country!=nl"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"presets": [
|
||||
{
|
||||
"tags": [
|
||||
"amenity=ticket_validator"
|
||||
],
|
||||
"title": {
|
||||
"en": "a ticket validator"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mapRendering": [
|
||||
{
|
||||
"icon": "circle:green;./assets/themes/stations/public_transport_tickets.svg",
|
||||
"iconSize": "20,20,center",
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue