Split out layers
This commit is contained in:
parent
983475afb0
commit
c1599369b4
4 changed files with 140 additions and 189 deletions
65
assets/layers/ticket_machine/ticket_machine.json
Normal file
65
assets/layers/ticket_machine/ticket_machine.json
Normal file
|
@ -0,0 +1,65 @@
|
|||
{
|
||||
"id": "ticket_machine",
|
||||
"name": {
|
||||
"en": "Ticket Machines"
|
||||
},
|
||||
"description": {
|
||||
"en": "Find ticket machines for public transport tickets"
|
||||
},
|
||||
"source": {
|
||||
"osmTags": {
|
||||
"and": [
|
||||
"amenity=vending_machine",
|
||||
"vending=public_transport_tickets"
|
||||
]
|
||||
}
|
||||
},
|
||||
"minzoom": 19,
|
||||
"title": {
|
||||
"render": {
|
||||
"en": "Ticket Machine"
|
||||
}
|
||||
},
|
||||
"tagRenderings": [
|
||||
"images",
|
||||
"level",
|
||||
{
|
||||
"id": "operator",
|
||||
"question": {
|
||||
"en": "Who is the operator of this ticket machine?"
|
||||
},
|
||||
"render": {
|
||||
"en": "This ticket machine is operated by {operator}"
|
||||
},
|
||||
"freeform": {
|
||||
"key": "operator",
|
||||
"type": "string",
|
||||
"placeholder": {
|
||||
"en": "Name of the operator"
|
||||
}
|
||||
}
|
||||
},
|
||||
"payment-options"
|
||||
],
|
||||
"presets": [
|
||||
{
|
||||
"tags": [
|
||||
"amenity=vending_machine",
|
||||
"vending=public_transport_tickets"
|
||||
],
|
||||
"title": {
|
||||
"en": "a ticket machine"
|
||||
}
|
||||
}
|
||||
],
|
||||
"mapRendering": [
|
||||
{
|
||||
"icon": "circle:blue;./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