forked from MapComplete/MapComplete
Test with waste theme (Happy New Year🎇🎉)
This commit is contained in:
parent
444f0bc47c
commit
67319fc8d9
4 changed files with 134 additions and 0 deletions
12
assets/layers/recycling/license_info.json
Normal file
12
assets/layers/recycling/license_info.json
Normal file
|
@ -0,0 +1,12 @@
|
|||
[
|
||||
{
|
||||
"path": "recycling-14.svg",
|
||||
"license": "CC0-1.0",
|
||||
"authors": [
|
||||
"Michael Glanznig"
|
||||
],
|
||||
"sources": [
|
||||
"https://github.com/gmgeo/osmic/blob/master/amenity/recycling-14.svg"
|
||||
]
|
||||
}
|
||||
]
|
40
assets/layers/recycling/recycling-14.svg
Normal file
40
assets/layers/recycling/recycling-14.svg
Normal file
|
@ -0,0 +1,40 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
|
||||
<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="100%"
|
||||
height="100%"
|
||||
viewBox="0 0 14 14"
|
||||
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></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs6" />
|
||||
<rect
|
||||
width="14"
|
||||
height="14"
|
||||
x="0"
|
||||
y="0"
|
||||
id="canvas"
|
||||
style="fill:none;stroke:none;visibility:hidden" />
|
||||
<path
|
||||
d="M 5.111113,8.690628 3.513352,5.804047 0.3,5.804047 1.60621,6.5880837 0.798678,8.031102 c -0.06887,0.130859 -0.103304,0.267511 -0.103301,0.409961 -3e-6,0.142456 0.03443,0.27911 0.103301,0.40996 l 1.271077,2.298282 c 0.05733,-0.166376 0.11466,-0.309011 0.171995,-0.427902 L 3.82273,7.906591 5.111113,8.690628 z m -2.38799,2.316224 c -0.09194,0.154416 -0.137914,0.320611 -0.13791,0.498585 -4e-6,0.273307 0.09456,0.504931 0.283685,0.694868 0.189119,0.189939 0.415298,0.284906 0.678537,0.284906 l 3.161963,0 0,-2.654413 -3.333432,0 C 3.352886,9.878288 3.266892,10.0327 3.117975,10.294041 l -0.394852,0.712811 z m 4.278351,-6.5745954 3.196047,0 L 11.812587,1.54622 10.506901,2.3302555 9.698844,0.8866933 C 9.549912,0.6137609 9.320934,0.4772893 9.011916,0.4772767 l -2.543205,0 c 0.10312,0.1185426 0.189116,0.2372528 0.257992,0.3561331 L 8.289856,3.6482199 8.032389,3.8086154 7.001474,4.4322566 z M 5.437797,0.6197306 C 5.07108,0.6197421 4.796134,0.7859374 4.61296,1.1183163 L 3.015198,3.9690109 C 3.622066,4.3372941 4.360906,4.7767964 5.231719,5.2875185 5.746994,4.372999 6.302478,3.3752843 6.898173,2.2943703 L 6.262635,1.1183163 C 6.079446,0.7859374 5.804501,0.6197421 5.437797,0.6197306 l 0,0 z m 4.106882,9.1751824 0,-0.320793 0,-1.228795 L 7.946393,11.131363 9.544679,14 l 0,-1.55013 1.597761,0 c 0.309366,0 0.54411,-0.136653 0.704231,-0.409962 l 1.271602,-2.298279 c -0.171656,0.04749 -0.314811,0.07123 -0.42946,0.07123 L 9.544679,9.794909 z m 2.37121,-4.88147 c -0.05735,0.035533 -0.79636,0.4750321 -2.217045,1.3185066 0.710337,1.2708484 1.271764,2.2745434 1.684282,3.0110934 l 1.288383,0 c 0.378233,2e-6 0.658946,-0.166373 0.842142,-0.499132 0.171629,-0.320788 0.165862,-0.647379 -0.01731,-0.979774 l -1.58045,-2.850694 z"
|
||||
id="recycling"
|
||||
style="fill:#000000;fill-opacity:1;stroke:none" />
|
||||
</svg>
|
After Width: | Height: | Size: 2.7 KiB |
53
assets/layers/recycling/recycling.json
Normal file
53
assets/layers/recycling/recycling.json
Normal file
|
@ -0,0 +1,53 @@
|
|||
{
|
||||
"id": "recycling",
|
||||
"name": {
|
||||
"en": "Recycling",
|
||||
"nl": "Recycling"
|
||||
},
|
||||
"description": {
|
||||
"en": "A layer with recycling containers and centres",
|
||||
"nl": "Een laag met recyclagingcontainers en -centrums"
|
||||
},
|
||||
"source": {
|
||||
"osmTags": "amenity=recycling"
|
||||
},
|
||||
"minzoom": 12,
|
||||
"title": {
|
||||
"render": {
|
||||
"en": "Recycling facility",
|
||||
"nl": "Recyclingfaciliteit"
|
||||
}
|
||||
},
|
||||
"mapRendering": [
|
||||
{
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
],
|
||||
"icon": "./assets/layers/recycling/recycling-14.svg"
|
||||
}
|
||||
],
|
||||
"presets": [],
|
||||
"tagRenderings": [
|
||||
{
|
||||
"id": "recycling-type",
|
||||
"mappings": [
|
||||
{
|
||||
"if": "recycling-type=container",
|
||||
"then": {
|
||||
"en": "This is a recycling container",
|
||||
"nl": "Dit is een recyclingcontainer"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "recycling-type=centre",
|
||||
"then": {
|
||||
"en": "This is a recycling centre",
|
||||
"nl": "Dit is een recyclingcentrum"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"filter": []
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue