forked from MapComplete/MapComplete
Add binoculars theme, auto reformat everything
This commit is contained in:
parent
38dea806c5
commit
78d6482c88
586 changed files with 115573 additions and 111842 deletions
22
assets/layers/binocular/Line-style-icons-telescope.svg
Normal file
22
assets/layers/binocular/Line-style-icons-telescope.svg
Normal file
|
@ -0,0 +1,22 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Generator: Adobe Illustrator 17.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
|
||||
width="35px" height="32px" viewBox="0 0 35 32" enable-background="new 0 0 35 32" xml:space="preserve">
|
||||
<g>
|
||||
<path fill="#828282" d="M27.464,2.314c-0.053-0.132-0.159-0.235-0.292-0.284c-0.133-0.048-0.281-0.039-0.406,0.027L14.86,8.339
|
||||
c-0.224,0.118-0.324,0.385-0.233,0.621l0.245,0.641L7.999,13.37C7.774,13.493,7.679,13.765,7.777,14l0.228,0.549l-7.299,3.488
|
||||
c-0.24,0.115-0.348,0.397-0.246,0.643l1.498,3.61c0.08,0.192,0.265,0.309,0.462,0.309c0.056,0,0.112-0.009,0.167-0.029l7.625-2.701
|
||||
l0.228,0.549c0.079,0.191,0.264,0.309,0.462,0.309c0.046,0,0.092-0.006,0.139-0.02l7.276-2.097l0.218,0.569
|
||||
C18.609,19.376,18.798,19.5,19,19.5c0.049,0,0.098-0.007,0.147-0.022l13-4c0.134-0.041,0.244-0.136,0.304-0.262
|
||||
c0.06-0.126,0.065-0.272,0.013-0.401L27.464,2.314z M2.7,21.469l-1.134-2.734l6.823-3.261l1.439,3.47L2.7,21.469z M11.191,19.623
|
||||
l-0.238-0.574c0,0,0,0,0,0L9.11,14.604c0,0,0,0,0,0l-0.238-0.573l6.336-3.475l2.374,6.134l0.375,0.981L11.191,19.623z M19.3,18.385
|
||||
l-0.203-0.531c-0.003-0.011-0.001-0.024-0.006-0.035l-0.618-1.597l-2.754-7.206l11.023-5.815l4.592,11.48L19.3,18.385z"/>
|
||||
<path fill="#828282" d="M28.964,0.314c-0.103-0.257-0.395-0.381-0.65-0.279c-0.256,0.103-0.381,0.394-0.279,0.65l6,15
|
||||
C34.114,15.881,34.302,16,34.5,16c0.062,0,0.125-0.011,0.186-0.036c0.256-0.103,0.381-0.394,0.279-0.65L28.964,0.314z"/>
|
||||
<path fill="#828282" d="M18,21h-3c-1.14,0-2,0.86-2,2v1.315l-5.879,6.859c-0.18,0.209-0.156,0.525,0.054,0.705
|
||||
C7.269,31.96,7.385,32,7.5,32c0.141,0,0.281-0.059,0.379-0.175L13.73,25H16v6.5c0,0.276,0.224,0.5,0.5,0.5s0.5-0.224,0.5-0.5V25
|
||||
h2.27l5.85,6.825C25.219,31.941,25.359,32,25.5,32c0.115,0,0.231-0.04,0.325-0.121c0.21-0.18,0.234-0.495,0.054-0.705L20,24.315
|
||||
v-1.24C20,21.912,19.122,21,18,21z M19,24h-5v-1c0-0.589,0.411-1,1-1h3c0.57,0,1,0.462,1,1.075V24z"/>
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 2.1 KiB |
88
assets/layers/binocular/binocular.json
Normal file
88
assets/layers/binocular/binocular.json
Normal file
|
@ -0,0 +1,88 @@
|
|||
{
|
||||
"id": "binocular",
|
||||
"name": {
|
||||
"en": "Binoculars",
|
||||
"nl": "Verrekijkers"
|
||||
},
|
||||
"minzoom": 0,
|
||||
"title": {
|
||||
"render": {
|
||||
"en": "Binoculars",
|
||||
"nl": "Verrekijker"
|
||||
}
|
||||
},
|
||||
"description": {
|
||||
"en": "Binoculas",
|
||||
"nl": "Verrekijkers"
|
||||
},
|
||||
"tagRenderings": [
|
||||
"images",
|
||||
{
|
||||
"mappings": [
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"fee=no",
|
||||
"charge="
|
||||
]
|
||||
},
|
||||
"then": {
|
||||
"en": "Free to use",
|
||||
"nl": "Gratis te gebruiken"
|
||||
}
|
||||
}
|
||||
],
|
||||
"freeform": {
|
||||
"key": "charge",
|
||||
"addExtraTags": [
|
||||
"fee=yes"
|
||||
]
|
||||
},
|
||||
"render": {
|
||||
"en": "Using these binoculars costs {charge}",
|
||||
"nl": "Deze verrekijker gebruiken kost {charge}"
|
||||
},
|
||||
"question": {
|
||||
"en": "How much does one have to pay to use these binoculars?",
|
||||
"nl": "Hoeveel moet men betalen om deze verrekijker te gebruiken?"
|
||||
}
|
||||
}
|
||||
],
|
||||
"icon": {
|
||||
"render": "circle:white;./assets/layers/binocular/Line-style-icons-telescope.svg"
|
||||
},
|
||||
"width": {
|
||||
"render": "8"
|
||||
},
|
||||
"iconSize": {
|
||||
"render": "40,40,center"
|
||||
},
|
||||
"color": {
|
||||
"render": "#00f"
|
||||
},
|
||||
"presets": [
|
||||
{
|
||||
"tags": [
|
||||
"amenity=binoculars"
|
||||
],
|
||||
"title": {
|
||||
"en": "Binoculars",
|
||||
"nl": "Verrekijker"
|
||||
},
|
||||
"description": {
|
||||
"en": "A telescope or pair of binoculars mounted on a pole, available to the public to look around. <img src='./assets/layers/binocular/binoculars_example.jpg' style='height: 200px' />",
|
||||
"nl": "Een telescoop of verrekijker die op een vaste plaats gemonteerd staat waar iedereen door mag kijken. <img src='./assets/layers/binocular/binoculars_example.jpg' style='height: 200px' />"
|
||||
},
|
||||
"preciseInput": {
|
||||
"preferredBackground": "photo"
|
||||
}
|
||||
}
|
||||
],
|
||||
"source": {
|
||||
"osmTags": {
|
||||
"and": [
|
||||
"amenity=binoculars"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
BIN
assets/layers/binocular/binoculars_example.jpg
Normal file
BIN
assets/layers/binocular/binoculars_example.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 81 KiB |
23
assets/layers/binocular/license_info.json
Normal file
23
assets/layers/binocular/license_info.json
Normal file
|
@ -0,0 +1,23 @@
|
|||
[
|
||||
{
|
||||
"path": "Line-style-icons-telescope.svg",
|
||||
"license": "GPL",
|
||||
"authors": [
|
||||
"Kenny Sing/Elegant Themes"
|
||||
],
|
||||
"sources": [
|
||||
"https://upload.wikimedia.org/wikipedia/commons/b/b1/Line-style-icons-telescope.svg",
|
||||
"https://www.elegantthemes.com/blog/freebie-of-the-week/free-line-style-icons"
|
||||
]
|
||||
},
|
||||
{
|
||||
"path": "binoculars_example.jpg",
|
||||
"license": "CC-BY-SA 4.0",
|
||||
"authors": [
|
||||
"Moheen Reeyad"
|
||||
],
|
||||
"sources": [
|
||||
"https://upload.wikimedia.org/wikipedia/commons/a/a0/Coin-operated_binocular_at_Cape_of_Good_Hope_%2801%29.jpg"
|
||||
]
|
||||
}
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue