forked from MapComplete/MapComplete
Souvenir coins and notes
This commit is contained in:
parent
b1d915cec7
commit
6884eacd3b
10 changed files with 382 additions and 7 deletions
10
assets/layers/souvenir_coin/license_info.json
Normal file
10
assets/layers/souvenir_coin/license_info.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
[
|
||||
{
|
||||
"path": "souvenir_coin.svg",
|
||||
"license": "CC0-1.0",
|
||||
"authors": [
|
||||
"Robin van der Linde"
|
||||
],
|
||||
"sources": []
|
||||
}
|
||||
]
|
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
|
||||
}
|
9
assets/layers/souvenir_coin/souvenir_coin.svg
Normal file
9
assets/layers/souvenir_coin/souvenir_coin.svg
Normal file
|
@ -0,0 +1,9 @@
|
|||
<svg width="250" height="250" viewBox="0 0 250 250" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<circle cx="125" cy="125" r="121" fill="#CABFB9" stroke="#6D6662" stroke-width="8"/>
|
||||
<rect x="60" y="82.5" width="26" height="39" fill="#6D6662"/>
|
||||
<rect x="164" y="82.5" width="26" height="39" fill="#6D6662"/>
|
||||
<path d="M73 63L84.2583 82.5H61.7417L73 63Z" fill="#6D6662"/>
|
||||
<path d="M177 63L188.258 82.5H165.742L177 63Z" fill="#6D6662"/>
|
||||
<path fill-rule="evenodd" clip-rule="evenodd" d="M60 121.5H190V186.5H138V160.5C138 153.32 132.18 147.5 125 147.5C117.82 147.5 112 153.32 112 160.5V186.5H60V121.5Z" fill="#6D6662"/>
|
||||
<circle cx="125" cy="125" r="109.5" stroke="#6D6662" stroke-dasharray="4 12"/>
|
||||
</svg>
|
After Width: | Height: | Size: 703 B |
2
assets/layers/souvenir_coin/souvenir_coin.svg.license
Normal file
2
assets/layers/souvenir_coin/souvenir_coin.svg.license
Normal file
|
@ -0,0 +1,2 @@
|
|||
SPDX-FileCopyrightText: Robin van der Linde
|
||||
SPDX-License-Identifier: CC0-1.0
|
Loading…
Add table
Add a link
Reference in a new issue