Souvenir coins and notes
This commit is contained in:
parent
b1d915cec7
commit
6884eacd3b
10 changed files with 382 additions and 7 deletions
160
assets/layers/souvenir_coin/souvenir_coin.json
Normal file
160
assets/layers/souvenir_coin/souvenir_coin.json
Normal file
|
@ -0,0 +1,160 @@
|
|||
{
|
||||
"pointRendering": [
|
||||
{
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
],
|
||||
"iconBadges": [
|
||||
{
|
||||
"if": "opening_hours~*",
|
||||
"then": "icons.isOpen"
|
||||
}
|
||||
],
|
||||
"marker": [
|
||||
{
|
||||
"icon": "circle",
|
||||
"color": "#FFFFFF00"
|
||||
},
|
||||
{
|
||||
"icon": "./assets/layers/souvenir_coin/souvenir_coin.svg"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"tagRenderings": [
|
||||
"images",
|
||||
"opening_hours_24_7",
|
||||
{
|
||||
"builtin": "elongated_coin.designs",
|
||||
"id": "designs",
|
||||
"override": {
|
||||
"render": {
|
||||
"en": "This machine has {coin:design_count} designs available"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": "coin:design_count=1",
|
||||
"then": {
|
||||
"en": "This machine has one design available"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "coin:design_count=2",
|
||||
"then": {
|
||||
"en": "This machine has two designs available"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "coin:design_count=3",
|
||||
"then": {
|
||||
"en": "This machine has three designs available"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "coin:design_count=4",
|
||||
"then": {
|
||||
"en": "This machine has four designs available"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"payment-options-split",
|
||||
"website",
|
||||
{
|
||||
"question": {
|
||||
"en": "How much does a souvenir coin cost?"
|
||||
},
|
||||
"id": "charge",
|
||||
"render": {
|
||||
"en": "A souvenir coins costs {charge}"
|
||||
},
|
||||
"freeform": {
|
||||
"key": "charge",
|
||||
"placeholder": {
|
||||
"en": "Cost (e.g. 2 EUR)"
|
||||
}
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": "charge=2 EUR",
|
||||
"then": {
|
||||
"en": "A souvenir coin costs 2 euro"
|
||||
},
|
||||
"hideInAnswer": "_currency!~.*EUR.*"
|
||||
}
|
||||
]
|
||||
},
|
||||
"denominations-coins",
|
||||
{
|
||||
"question": {
|
||||
"en": "Is this machine located indoors?"
|
||||
},
|
||||
"id": "indoor",
|
||||
"mappings": [
|
||||
{
|
||||
"if": "indoor=yes",
|
||||
"then": {
|
||||
"en": "This machine is located indoors."
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "indoor=no",
|
||||
"then": {
|
||||
"en": "This machine is located outdoors."
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"level",
|
||||
"check_date"
|
||||
],
|
||||
"lineRendering": [
|
||||
{
|
||||
"width": 1,
|
||||
"color": "blue"
|
||||
}
|
||||
],
|
||||
"id": "souvenir_coin",
|
||||
"name": {
|
||||
"en": "Souvenir Coin Machines"
|
||||
},
|
||||
"description": {
|
||||
"en": "Layer showing machines selling souvenir coins"
|
||||
},
|
||||
"source": {
|
||||
"osmTags": {
|
||||
"and": [
|
||||
"amenity=vending_machine",
|
||||
"vending~.*souvenir_coins.*"
|
||||
]
|
||||
}
|
||||
},
|
||||
"title": {
|
||||
"render": {
|
||||
"en": "Souvenir Coin Machine"
|
||||
}
|
||||
},
|
||||
"presets": [
|
||||
{
|
||||
"title": {
|
||||
"en": "a souvenir coin machine"
|
||||
},
|
||||
"description": {
|
||||
"en": "Add a machine selling souvenir coins"
|
||||
},
|
||||
"tags": [
|
||||
"amenity=vending_machine",
|
||||
"vending=souvenir_coins"
|
||||
]
|
||||
}
|
||||
],
|
||||
"filter": [
|
||||
"open_now",
|
||||
"accepts_debit_cards",
|
||||
"accepts_credit_cards"
|
||||
],
|
||||
"deletion": true,
|
||||
"allowMove": true
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue