Re-add waste basket theme

This commit is contained in:
pietervdvn 2021-07-07 22:21:01 +02:00
parent 1175562c18
commit 3a56dd1d9d
3 changed files with 157 additions and 0 deletions

View file

@ -0,0 +1,10 @@
[
{
"authors": [],
"path": "waste_basket.svg",
"license": "CC0",
"sources": [
"https://wiki.openstreetmap.org/wiki/File:Waste-basket-12.svg"
]
}
]

View file

@ -0,0 +1,121 @@
{
"id": "waste_basket",
"title": {
"en": "Waste Basket",
"nl": "Vuilnisbak"
},
"shortDescription": {
"en": "Throw away waste",
"nl": "Afval weggooien"
},
"description": {
"en": "This is a public waste basket, thrash can, where you can throw away your thrash.",
"nl": "Dit is een publieke vuilnisbak waar je je afval kan weggooien."
},
"language": [
"en",
"nl"
],
"maintainer": "",
"icon": "./assets/themes/waste_basket/waste_basket.svg",
"version": "7/7/2021",
"startLat": 0,
"startLon": 0,
"startZoom": 1,
"widenFactor": 0.05,
"socialImage": "",
"layers": [
{
"id": "waste_basket",
"name": {
"en": "Waste Basket",
"nl": "Vuilnisbak"
},
"minzoom": 12,
"overpassTags": {
"and": [
"amenity=waste_basket"
]
},
"title": {
"render": {
"en": "Waste Basket",
"nl": "Vuilnisbak"
},
"mappings": [
{
"if": {
"and": [
"amenity=waste_basket"
]
},
"then": {
"en": "Waste Basket",
"nl": "Vuilnisbak"
}
}
]
},
"description": {
"en": "This is a public waste basket, thrash can, where you can throw away your thrash.",
"nl": "Dit is een publieke vuilnisbak waar je je afval kan weggooien."
},
"tagRenderings": [],
"hideUnderlayingFeaturesMinPercentage": 0,
"icon": {
"render": "./assets/themes/waste_basket/waste_basket.svg",
"mappings": [
{
"if": {
"and": [
"amenity=waste_basket"
]
},
"then": {
"en": "Waste Basket",
"nl": "Vuilnisbak"
}
}
]
},
"width": {
"render": "8"
},
"iconSize": {
"render": "40,40,center",
"mappings": [
{
"if": {
"and": [
"amenity=waste_basket"
]
},
"then": {
"en": "Waste Basket",
"nl": "Vuilnisbak"
}
}
]
},
"color": {
"render": "#00f"
},
"presets": [
{
"tags": [
"amenity=waste_basket"
],
"title": {
"en": "Waste Basket",
"nl": "Vuilnisbak"
},
"description": {
"en": "Throw away waste",
"nl": "Afval weggooien"
}
}
]
}
],
"roamingRenderings": []
}

View file

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
version="1.1"
width="12"
height="12"
viewBox="0 0 12 12"
id="svg2">
<metadata id="metadata8">
<rdf:RDF>
<cc:Work rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage"/>
<dc:title/>
</cc:Work>
</rdf:RDF>
</metadata>
<defs id="defs6"/>
<rect width="12" height="12" x="0" y="0" id="canvas" style="fill:none;stroke:none;visibility:hidden"/>
<path d="M 4,2 3,2 2,3 8,3 7,2 6,2 5,1 z M 2,4 3,9 7,9 8,4 z"
id="waste-basket" style="fill:#666666;fill-opacity:1" transform="translate(1,1)"/>
</svg>

After

Width:  |  Height:  |  Size: 912 B