forked from MapComplete/MapComplete
Merge master
This commit is contained in:
commit
80168f5d0d
919 changed files with 95585 additions and 8504 deletions
|
@ -84,7 +84,8 @@
|
|||
"text": {
|
||||
"en": "Import this ATM",
|
||||
"de": "Diesen Geldautomaten importieren",
|
||||
"zh_Hant": "匯入這座 ATM"
|
||||
"zh_Hant": "匯入這座 ATM",
|
||||
"nl": "Voeg deze ATM toe"
|
||||
},
|
||||
"icon": "./assets/svg/addSmall.svg"
|
||||
}
|
||||
|
|
|
@ -335,7 +335,105 @@
|
|||
"reviews"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"builtin": [
|
||||
"shops"
|
||||
],
|
||||
"override": {
|
||||
"id": "shops_with_climbing_shoe_repair",
|
||||
"source": {
|
||||
"=osmTags": {
|
||||
"and": [
|
||||
"service:repair:climbing_shoes=yes",
|
||||
{
|
||||
"or": [
|
||||
"shop=shoe_repair",
|
||||
"craft=shoemaker"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"=presets": [],
|
||||
"minzoom": 8,
|
||||
"+tagRenderings": [
|
||||
{
|
||||
"id": "repairs_climbing_shoes",
|
||||
"question": {
|
||||
"en": "Does this shoe repair shop repair climbing shoes?",
|
||||
"de": "Repariert das Schuhgeschäft Kletterschuhe?"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": "service:repair:climbing_shoes=yes",
|
||||
"then": {
|
||||
"en": "This shop repairs climbing shoes",
|
||||
"de": "Dieser Laden repariert Kletterschuhe"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "service:repair:climbing_shoes=no",
|
||||
"then": {
|
||||
"en": "This shop does not repair climbing shoes",
|
||||
"de": "Dieser Shop repariert keine Kletterschuhe"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"builtin": [
|
||||
"shops"
|
||||
],
|
||||
"override": {
|
||||
"=osmTags": {
|
||||
"or": [
|
||||
"shop=shoe_repair",
|
||||
"craft=shoemaker"
|
||||
]
|
||||
},
|
||||
"minzoom": 16,
|
||||
"+tagRenderings": [
|
||||
{
|
||||
"id": "repairs_climbing_shoes",
|
||||
"question": {
|
||||
"en": "Does this shoe repair shop also repair clibming shoes?",
|
||||
"de": "Repariert dieses Schuhgeschäft auch Kletterschuhe?"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": "service:repair:climbing_shoes=yes",
|
||||
"then": {
|
||||
"en": "This shop repairs climbing shoes",
|
||||
"de": "Dieses Geschäft repariert Kletterschuhe"
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "service:repair:climbing_shoes=no",
|
||||
"then": {
|
||||
"en": "This shop does not repair climbing shoes",
|
||||
"de": "Dieses Geschäft repariert keine Kletterschuhe"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"=presets": [
|
||||
{
|
||||
"tags": [
|
||||
"shop=shoe_repair"
|
||||
],
|
||||
"title": {
|
||||
"en": "a shoe repair shop",
|
||||
"de": "Ein Schuhmacher"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"credits": "Christian Neumann <christian@utopicode.de>"
|
||||
}
|
||||
}
|
||||
|
|
246
assets/themes/elongated_coin/elongated_coin.json
Normal file
246
assets/themes/elongated_coin/elongated_coin.json
Normal file
|
@ -0,0 +1,246 @@
|
|||
{
|
||||
"id": "elongated_coin",
|
||||
"title": {
|
||||
"en": "Penny Presses",
|
||||
"de": "Münzpressen"
|
||||
},
|
||||
"description": {
|
||||
"en": "Find penny presses to create your own elongated coins.",
|
||||
"de": "Finde Münzpresse um deine eigenen Prägemünzen zu Pressen."
|
||||
},
|
||||
"icon": "./assets/themes/elongated_coin/penny.svg",
|
||||
"layers": [
|
||||
{
|
||||
"id": "elongated_coin",
|
||||
"name": {
|
||||
"en": "Penny Presses",
|
||||
"de": "Münzpressen"
|
||||
},
|
||||
"description": {
|
||||
"en": "Layer showing penny presses.",
|
||||
"de": "Ebene mit Münzpressen."
|
||||
},
|
||||
"source": {
|
||||
"osmTags": {
|
||||
"and": [
|
||||
"amenity=vending_machine",
|
||||
"vending=elongated_coin"
|
||||
]
|
||||
}
|
||||
},
|
||||
"title": {
|
||||
"render": {
|
||||
"en": "Penny Press",
|
||||
"de": "Münzpresse"
|
||||
}
|
||||
},
|
||||
"tagRenderings": [
|
||||
"images",
|
||||
"opening_hours_24_7",
|
||||
{
|
||||
"id": "designs",
|
||||
"question": {
|
||||
"en": "How many designs are available?",
|
||||
"de": "Wieviele Motive sind verfügbar?"
|
||||
},
|
||||
"freeform": {
|
||||
"key": "coin:design_count",
|
||||
"type": "pnat",
|
||||
"placeholder": {
|
||||
"en": "Number of designs (e.g. 5)",
|
||||
"de": "Motivanzahl (z.B. 5)"
|
||||
}
|
||||
},
|
||||
"render": {
|
||||
"en": "This penny press has {coin:design_count} designs available.",
|
||||
"de": "Die Münzpresse hat {coin:design_count} Motive zur Auswahl."
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": "coin:design_count=1",
|
||||
"then": {
|
||||
"en": "This penny press has one design available.",
|
||||
"de": "Die Münzpresse hat ein Motiv zur Auswahl."
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "coin:design_count=2",
|
||||
"then": {
|
||||
"en": "This penny press has two designs available.",
|
||||
"de": "Die Münzpresse hat zwei Motive zur Auswahl."
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "coin:design_count=3",
|
||||
"then": {
|
||||
"en": "This penny press has three designs available.",
|
||||
"de": "Die Münzpresse hat drei Motive zur Auswahl."
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "coin:design_count=4",
|
||||
"then": {
|
||||
"en": "This penny press has four designs available.",
|
||||
"de": "Die Münzpresse hat vier Motive zur Auswahl."
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "coin",
|
||||
"question": {
|
||||
"en": "What coin is used for pressing?",
|
||||
"de": "Welche Münze wird zum Pressen verwendet?"
|
||||
},
|
||||
"freeform": {
|
||||
"key": "coin:type",
|
||||
"type": "string",
|
||||
"placeholder": {
|
||||
"en": "Coin type (e.g. 10cent)",
|
||||
"de": "Münzenart (z.B. 10 Cent)"
|
||||
}
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": "coin:type=2cent",
|
||||
"then": {
|
||||
"en": "This penny press uses a 2 cent coin for pressing.",
|
||||
"de": "Die Münzpresse benötigt eine 2 Cent Münze um zu Pressen."
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "coin:type=5cent",
|
||||
"then": {
|
||||
"en": "This penny press uses a 5 cent coin for pressing.",
|
||||
"de": "Die Münzpresse benötigt eine 5 Cent Münze um zu Pressen."
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "coin:type=10cent",
|
||||
"then": {
|
||||
"en": "This penny press uses a 10 cent coin for pressing.",
|
||||
"de": "Die Münzpresse benötigt eine 10 Cent Münze um zu Pressen."
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "coin:type=25cent",
|
||||
"then": {
|
||||
"en": "This penny press uses a 25 cent coin for pressing.",
|
||||
"de": "Die Münzpresse benötigt eine 25 Cent Münze um zu Pressen."
|
||||
},
|
||||
"hideInAnswer": "_currency!~.*USD.*"
|
||||
},
|
||||
{
|
||||
"if": "coin:type=50cent",
|
||||
"then": {
|
||||
"en": "This penny press uses a 50 cent coin for pressing.",
|
||||
"de": "Die Münzpresse benötigt eine 50 Cent Münze um zu Pressen."
|
||||
},
|
||||
"hideInAnswer": "_currency!~.*USD.*"
|
||||
}
|
||||
],
|
||||
"render": {
|
||||
"en": "This penny press uses a {coin:type} coin for pressing.",
|
||||
"de": "Die Münzpresse benötigt eine {coin:type} Münze um zu Pressen."
|
||||
}
|
||||
},
|
||||
"website",
|
||||
{
|
||||
"id": "charge",
|
||||
"question": {
|
||||
"en": "How much does it cost to press a penny?",
|
||||
"de": "Wieviel kostet es eine Münze zu Pressen?"
|
||||
},
|
||||
"freeform": {
|
||||
"key": "charge",
|
||||
"placeholder": {
|
||||
"en": "Cost (e.g. 0.50 EUR)",
|
||||
"de": "Einwurf (z.B. 0,5€)"
|
||||
}
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": "charge=1 EUR",
|
||||
"then": {
|
||||
"en": "It costs 1 euro to press a penny.",
|
||||
"de": "Eine Münze zu Pressen kostet 1 Euro."
|
||||
},
|
||||
"hideInAnswer": "_currency!~.*EUR.*"
|
||||
},
|
||||
{
|
||||
"if": "charge=2 EUR",
|
||||
"then": {
|
||||
"en": "It costs 2 euros to press a penny.",
|
||||
"de": "Eine Münze zu Pressen kostet 2€."
|
||||
},
|
||||
"hideInAnswer": "_currency!~.*EUR.*"
|
||||
}
|
||||
],
|
||||
"render": {
|
||||
"en": "It costs {charge} to press a penny.",
|
||||
"de": "Es kostet {charge}€ um eine Münze zu Pressen."
|
||||
}
|
||||
},
|
||||
"denominations-coins",
|
||||
{
|
||||
"id": "indoor",
|
||||
"question": {
|
||||
"en": "Is the penny press indoors?",
|
||||
"de": "Befindet sich die Münzpresse im Inneren?"
|
||||
},
|
||||
"mappings": [
|
||||
{
|
||||
"if": "indoor=yes",
|
||||
"then": {
|
||||
"en": "This penny press is located indoors.",
|
||||
"de": "Die Münzpresse befindet sich im Inneren."
|
||||
}
|
||||
},
|
||||
{
|
||||
"if": "indoor=no",
|
||||
"then": {
|
||||
"en": "This penny press is located outdoors.",
|
||||
"de": "Die Münzpresse befindet sich Draußen."
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"level"
|
||||
],
|
||||
"mapRendering": [
|
||||
{
|
||||
"icon": "circle:#FFFFFF00;./assets/themes/elongated_coin/penny.svg",
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
],
|
||||
"iconBadges": [
|
||||
{
|
||||
"if": "opening_hours~*",
|
||||
"then": "icons.isOpen"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"presets": [
|
||||
{
|
||||
"title": {
|
||||
"en": "a penny press",
|
||||
"de": "Eine Münzpresse"
|
||||
},
|
||||
"tags": [
|
||||
"amenity=vending_machine",
|
||||
"vending=elongated_coin",
|
||||
"payment:coins=yes"
|
||||
]
|
||||
}
|
||||
],
|
||||
"filter": [
|
||||
"open_now"
|
||||
]
|
||||
}
|
||||
],
|
||||
"startLat": 53.0565,
|
||||
"startLon": 8.7492,
|
||||
"startZoom": 11
|
||||
}
|
10
assets/themes/elongated_coin/license_info.json
Normal file
10
assets/themes/elongated_coin/license_info.json
Normal file
|
@ -0,0 +1,10 @@
|
|||
[
|
||||
{
|
||||
"path": "penny.svg",
|
||||
"license": "CC0",
|
||||
"authors": [
|
||||
"Robin van der Linde"
|
||||
],
|
||||
"sources": []
|
||||
}
|
||||
]
|
79
assets/themes/elongated_coin/penny.svg
Normal file
79
assets/themes/elongated_coin/penny.svg
Normal file
|
@ -0,0 +1,79 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
width="250"
|
||||
height="250"
|
||||
viewBox="0 0 250 250"
|
||||
fill="none"
|
||||
version="1.1"
|
||||
id="svg16"
|
||||
sodipodi:docname="penny.svg"
|
||||
inkscape:version="1.2.2 (b0a8486541, 2022-12-01)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:svg="http://www.w3.org/2000/svg">
|
||||
<defs
|
||||
id="defs20" />
|
||||
<sodipodi:namedview
|
||||
id="namedview18"
|
||||
pagecolor="#505050"
|
||||
bordercolor="#eeeeee"
|
||||
borderopacity="1"
|
||||
inkscape:showpageshadow="0"
|
||||
inkscape:pageopacity="0"
|
||||
inkscape:pagecheckerboard="0"
|
||||
inkscape:deskcolor="#505050"
|
||||
showgrid="false"
|
||||
inkscape:zoom="1.5733333"
|
||||
inkscape:cx="125.52966"
|
||||
inkscape:cy="75"
|
||||
inkscape:window-width="1920"
|
||||
inkscape:window-height="1011"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="0"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svg16" />
|
||||
<g
|
||||
id="g310"
|
||||
transform="translate(0,50)">
|
||||
<path
|
||||
d="m 246,75 c 0,18.7536 -12.69,36.415 -34.67,49.603 C 189.43,137.743 158.917,146 125,146 91.0825,146 60.5697,137.743 38.6696,124.603 16.69,111.415 4,93.7536 4,75 4,56.2464 16.69,38.5848 38.6696,25.397 60.5697,12.2569 91.0825,4 125,4 158.917,4 189.43,12.2569 211.33,25.397 233.31,38.5848 246,56.2464 246,75 Z"
|
||||
fill="#ff8c4e"
|
||||
stroke="#c84600"
|
||||
stroke-width="8"
|
||||
id="path2" />
|
||||
<rect
|
||||
x="75"
|
||||
y="42"
|
||||
width="20"
|
||||
height="30"
|
||||
fill="#c84600"
|
||||
id="rect4" />
|
||||
<rect
|
||||
x="155"
|
||||
y="42"
|
||||
width="20"
|
||||
height="30"
|
||||
fill="#c84600"
|
||||
id="rect6" />
|
||||
<path
|
||||
d="m 85,27 8.6603,15 H 76.3397 Z"
|
||||
fill="#c84600"
|
||||
id="path8" />
|
||||
<path
|
||||
d="m 165,27 8.66,15 h -17.32 z"
|
||||
fill="#c84600"
|
||||
id="path10" />
|
||||
<path
|
||||
fill-rule="evenodd"
|
||||
clip-rule="evenodd"
|
||||
d="m 75,72 h 100 v 50 h -40 v -20 c 0,-5.5229 -4.477,-10 -10,-10 -5.523,0 -10,4.4771 -10,10 v 20 H 75 Z"
|
||||
fill="#c84600"
|
||||
id="path12" />
|
||||
<path
|
||||
d="m 232.439,62.0698 c 1.437,3.5689 2.292,7.2569 2.507,11.0328 l -0.499,0.0284 c 0.035,0.6207 0.053,1.2437 0.053,1.869 0,0.6253 -0.018,1.2483 -0.053,1.8689 l 0.499,0.0285 c -0.215,3.7758 -1.07,7.4638 -2.507,11.0328 l -0.464,-0.1868 c -0.46,1.1441 -0.982,2.2765 -1.563,3.396 l 0.444,0.2302 c -1.677,3.2336 -3.839,6.3562 -6.44,9.3434 l -0.377,-0.329 c -0.811,0.931 -1.665,1.849 -2.561,2.753 l 0.355,0.352 c -2.555,2.578 -5.445,5.043 -8.639,7.376 l -0.295,-0.404 c -1,0.73 -2.03,1.448 -3.09,2.152 l 0.277,0.417 c -3.04,2.021 -6.317,3.932 -9.808,5.72 l -0.228,-0.445 c -1.107,0.567 -2.236,1.121 -3.386,1.663 l 0.213,0.453 c -3.332,1.57 -6.838,3.033 -10.501,4.378 l -0.173,-0.469 c -1.169,0.43 -2.355,0.848 -3.556,1.253 l 0.16,0.474 c -3.507,1.184 -7.145,2.263 -10.899,3.23 l -0.125,-0.484 c -1.212,0.312 -2.436,0.612 -3.672,0.9 l 0.113,0.487 c -3.62,0.845 -7.34,1.587 -11.147,2.219 l -0.082,-0.493 c -1.235,0.205 -2.48,0.398 -3.734,0.58 l 0.072,0.495 c -3.693,0.535 -7.462,0.969 -11.297,1.294 l -0.043,-0.498 c -1.247,0.105 -2.501,0.2 -3.762,0.282 l 0.032,0.499 c -3.732,0.245 -7.522,0.388 -11.361,0.423 l -0.004,-0.5 c -0.631,0.006 -1.264,0.009 -1.898,0.009 -0.634,0 -1.267,-0.003 -1.898,-0.009 l -0.004,0.5 c -3.839,-0.035 -7.629,-0.178 -11.361,-0.423 l 0.032,-0.499 c -1.261,-0.082 -2.515,-0.177 -3.762,-0.282 l -0.043,0.498 c -3.835,-0.325 -7.604,-0.759 -11.2971,-1.294 l 0.0717,-0.495 c -1.2535,-0.182 -2.4981,-0.375 -3.7335,-0.58 l -0.0819,0.493 c -3.8076,-0.632 -7.5276,-1.374 -11.1477,-2.219 l 0.1136,-0.487 c -1.2359,-0.288 -2.4602,-0.588 -3.6722,-0.9 l -0.1247,0.484 c -3.7543,-0.967 -7.3922,-2.046 -10.899,-3.23 l 0.1599,-0.474 c -1.2012,-0.405 -2.3869,-0.823 -3.5565,-1.253 l -0.1724,0.469 c -3.6631,-1.345 -7.1696,-2.808 -10.5015,-4.378 l 0.2132,-0.453 c -1.1498,-0.542 -2.2786,-1.096 -3.3856,-1.663 l -0.2279,0.445 c -3.4913,-1.788 -6.7685,-3.699 -9.8085,-5.72 l 0.2769,-0.417 c -1.0594,-0.704 -2.0895,-1.421 -3.0894,-2.152 l -0.295,0.404 c -3.1944,-2.333 -6.0849,-4.798 -8.6395,-7.376 l 0.3552,-0.352 c -0.8961,-0.904 -1.7502,-1.822 -2.5609,-2.753 l -0.377,0.329 c -2.6011,-2.9872 -4.7631,-6.1098 -6.4404,-9.3434 l 0.4438,-0.2302 c -0.5807,-1.1195 -1.1023,-2.2518 -1.5631,-3.396 l -0.4638,0.1868 C 16.1236,84.3613 15.269,80.6733 15.054,76.8974 L 15.5531,76.869 C 15.5178,76.2483 15.5,75.6253 15.5,75 c 0,-0.6253 0.0178,-1.2483 0.0531,-1.8689 L 15.054,73.1026 c 0.215,-3.7758 1.0696,-7.4638 2.5067,-11.0328 l 0.4638,0.1868 c 0.4607,-1.1441 0.9824,-2.2765 1.5631,-3.396 l -0.4439,-0.2302 c 1.6774,-3.2336 3.8394,-6.3562 6.4405,-9.343 l 0.377,0.3284 c 0.8107,-0.9309 1.6648,-1.8489 2.5609,-2.7532 l -0.3552,-0.352 c 2.5546,-2.5779 5.4451,-5.0422 8.6395,-7.3755 l 0.2949,0.4038 c 1,-0.7304 2.0301,-1.448 3.0894,-2.1524 L 39.9139,36.9701 C 42.9538,34.949 46.2311,33.038 49.7224,31.25 l 0.2279,0.4451 c 1.107,-0.5669 2.2358,-1.1215 3.3856,-1.6633 l -0.2132,-0.4523 c 3.3319,-1.5702 6.8384,-3.0331 10.5014,-4.3789 l 0.1725,0.4694 c 1.1696,-0.4298 2.3553,-0.8475 3.5565,-1.253 l -0.16,-0.4738 C 70.7,22.7594 74.3379,21.6801 78.0922,20.7133 l 0.1247,0.4842 c 1.212,-0.3122 2.4362,-0.6126 3.6722,-0.9009 l -0.1136,-0.487 c 3.6201,-0.8446 7.3402,-1.5864 11.1477,-2.2185 l 0.0819,0.4932 c 1.2354,-0.2051 2.48,-0.3986 3.7335,-0.5803 l -0.0717,-0.4949 c 3.6931,-0.5354 7.4621,-0.9687 11.2971,-1.2939 l 0.043,0.4982 c 1.247,-0.1058 2.501,-0.2001 3.762,-0.2828 l -0.032,-0.4989 c 3.732,-0.2447 7.522,-0.3874 11.361,-0.4229 l 0.004,0.5 C 123.733,15.5029 124.366,15.5 125,15.5 c 0.634,0 1.267,0.0029 1.898,0.0088 l 0.004,-0.5 c 3.839,0.0355 7.629,0.1782 11.361,0.4229 l -0.032,0.4989 c 1.261,0.0827 2.515,0.177 3.762,0.2828 l 0.043,-0.4982 c 3.835,0.3252 7.604,0.7585 11.297,1.2939 l -0.072,0.4949 c 1.254,0.1817 2.499,0.3752 3.734,0.5803 l 0.082,-0.4932 c 3.807,0.6321 7.527,1.3739 11.147,2.2185 l -0.113,0.487 c 1.236,0.2883 2.46,0.5887 3.672,0.9009 l 0.125,-0.4842 c 3.754,0.9668 7.392,2.0461 10.899,3.2299 l -0.16,0.4738 c 1.201,0.4055 2.387,0.8232 3.556,1.2529 l 0.173,-0.4693 c 3.663,1.3458 7.169,2.8087 10.501,4.3789 l -0.213,0.4523 c 1.15,0.5418 2.279,1.0964 3.386,1.6633 l 0.228,-0.4451 c 3.491,1.788 6.768,3.699 9.808,5.7201 l -0.277,0.4164 c 1.06,0.7044 2.09,1.422 3.09,2.1524 l 0.295,-0.4038 c 3.194,2.3333 6.084,4.7976 8.639,7.3755 l -0.355,0.352 c 0.896,0.9043 1.75,1.8223 2.561,2.7532 l 0.377,-0.3284 c 2.601,2.9868 4.763,6.1094 6.44,9.343 l -0.444,0.2302 c 0.581,1.1195 1.103,2.2518 1.563,3.396 z"
|
||||
stroke="#c84600"
|
||||
stroke-dasharray="4, 12"
|
||||
id="path14" />
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 6.5 KiB |
|
@ -70,7 +70,7 @@
|
|||
"nb_NO": "Gater uten etymologi-info",
|
||||
"cs": "Ulice bez etymologických informací"
|
||||
},
|
||||
"minzoom": 18,
|
||||
"minzoom": 15,
|
||||
"source": {
|
||||
"=osmTags": {
|
||||
"and": [
|
||||
|
@ -283,4 +283,4 @@
|
|||
}
|
||||
],
|
||||
"hideFromOverview": false
|
||||
}
|
||||
}
|
||||
|
|
|
@ -56,6 +56,15 @@
|
|||
"startZoom": 13,
|
||||
"widenFactor": 5,
|
||||
"layers": [
|
||||
"playground"
|
||||
"playground",
|
||||
{
|
||||
"builtin": [
|
||||
"bench",
|
||||
"picnic_table"
|
||||
],
|
||||
"override": {
|
||||
"minzoom": 16
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -29,11 +29,11 @@
|
|||
"cs": "Mapa s poštovními schránkami a poštami"
|
||||
},
|
||||
"description": {
|
||||
"en": "On this map you can find and add data of post offices and post boxes. You can use this map to find where you can mail your next postcard! :)<br/>Spotted an error or is a post box missing? You can edit this map with a free OpenStreetMap account. ",
|
||||
"en": "On this map you can find and add data of post offices and post boxes. You can use this map to find where you can mail your next postcard! :)<br/>Spotted an error or is a post box missing? You can edit this map with a free OpenStreetMap account.",
|
||||
"it": "In questa cartina puoi veder e modificare gli uffici postali e le buche delle lettere. Puoi usare questa cartina per trovare dove imbucare la tua prossima cartolina! :)<br/>Hai trovato un errore o una buca delle lettere mancante? Puoi modificare questa cartina con un account gratuito su OpenStreetMap. ",
|
||||
"zh_Hant": "在這份地圖你能找到與新增有關郵局與郵筒的資料,你可以用這份地圖找到寄送您下張明信片的地方!:)<br/>發現錯誤或是有郵筒遺漏嗎?你可以用免費的開放街圖帳號來編輯。 ",
|
||||
"hu": "Ezen a térképen postahivatalok és postaládák adatait találod és egészítheted ki. Utánanézhetsz, hogy hol adhatod fel a következő képeslapodat! :)<br/>Hibát találtál, vagy hiányzik egy postaláda? Ezt a térképet mindössze egy ingyenes OpenStreetMap-fiókkal szerkesztheted. ",
|
||||
"de": "Auf dieser Karte können Sie Daten von Poststellen und Briefkästen finden und ergänzen. Sie können diese Karte nutzen, um herauszufinden, wo Sie Ihre nächste Postkarte versenden können :)<br/>Haben Sie einen Fehler entdeckt oder fehlt ein Briefkasten? Sie können die Kartenddaten mit einem kostenlosen OpenStreetMap-Konto bearbeiten. ",
|
||||
"de": "Auf dieser Karte können Sie Daten von Poststellen und Briefkästen finden und ergänzen. Sie können diese Karte nutzen, um herauszufinden, wo Sie Ihre nächste Postkarte versenden können :)<br/>Haben Sie einen Fehler entdeckt oder fehlt ein Briefkasten? Sie können die Kartenddaten mit einem kostenlosen OpenStreetMap-Konto bearbeiten.",
|
||||
"es": "En este mapa puedes encontrar y añadir datos de oficinas de correo y buzones de correo. ¡Puedes utilizar este mapa para encontrar donde puedes enviar tu próxima postal! :)<br/>¿Has encontrado un error o algo que falta? Puedes editar este mapa con una cuenta de OpenStreetMap gratuita. ",
|
||||
"nl": "Op deze kaart kan je informatie over brievenbussen en postkantoren vinden en toevoegen. Je kan deze kaart gebruiken om te achterhalen waar je je volgende postkaart naar kan sturen! :)<br/>Zie je een fout of ontbreekt een brievenbus? Dan kan je deze kaart aanpassen met een gratis OpenStreetMap account. ",
|
||||
"fr": "Trouvez et ajoutez des bureaux de poste et boîtes à lettres sur cette carte. Utilisez cette carte où vous pouvez envoyer vos cartes postales ! :)<br/>Vous avez trouvez une erreur ou une boîte à lettres est manquante ? Vous pouvez modifier cette carte avec un compte OpenStreetMap gratuit. ",
|
||||
|
|
20
assets/themes/vending_machine/vending_machine.json
Normal file
20
assets/themes/vending_machine/vending_machine.json
Normal file
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
"id": "vending_machine",
|
||||
"title": {
|
||||
"en": "Vending Machines",
|
||||
"nl": "Verkoopautomaten",
|
||||
"de": "Verkaufsautomaten"
|
||||
},
|
||||
"description": {
|
||||
"en": "Find vending machines for everything",
|
||||
"nl": "Vind verkoopautomaten voor alles",
|
||||
"de": "Finde Verkaufautomaten für Alles"
|
||||
},
|
||||
"icon": "./assets/layers/vending_machine/vending_machine.svg",
|
||||
"startLat": 53.21102,
|
||||
"startLon": 6.56511,
|
||||
"startZoom": 19,
|
||||
"layers": [
|
||||
"vending_machine"
|
||||
]
|
||||
}
|
|
@ -47,20 +47,20 @@
|
|||
"_has_left_parking=(feat.properties['parking:lane:left'] ?? feat.properties['parking:lane:both']) === 'parallel'",
|
||||
"_has_right_parking=(feat.properties['parking:lane:right'] ?? feat.properties['parking:lane:both']) === 'parallel'",
|
||||
"_has_other_parking= ['parking:lane:left','parking:lane:right','parking:lane:both'].some(key => ['perpendicular','diagonal'].indexOf(feat.properties[key]) >= 0)",
|
||||
"_parallel_parking_count=feat.get('_has_right_parking') + feat.get('_has_left_parking') /* in javascript logic: true + true == 2*/",
|
||||
"_width:needed:parking=feat.get('_parallel_parking_count') * feat.get('_car_width')",
|
||||
"_parallel_parking_count=get(feat)('_has_right_parking') + get(feat)('_has_left_parking') /* in javascript logic: true + true == 2*/",
|
||||
"_width:needed:parking=get(feat)('_parallel_parking_count') * get(feat)('_car_width')",
|
||||
"_has_sidewalk_left=['left','both'].indexOf(feat.properties['sidewalk']) >= 0",
|
||||
"_has_sidewalk_right=['right','both'].indexOf(feat.properties['sidewalk']) >= 0",
|
||||
"_pedestrian_flows_in_carriageway= 2 - feat.get('_has_sidewalk_left') - feat.get('_has_sidewalk_right')",
|
||||
"_width:needed:pedestrians=feat.get('_pedestrianWidth') * feat.get('_pedestrian_flows_in_carriageway')",
|
||||
"_pedestrian_flows_in_carriageway= 2 - get(feat)('_has_sidewalk_left') - get(feat)('_has_sidewalk_right')",
|
||||
"_width:needed:pedestrians=get(feat)('_pedestrianWidth') * get(feat)('_pedestrian_flows_in_carriageway')",
|
||||
"_oneway_car=(feat.properties['oneway:motor_vehicle'] ?? feat.properties['oneway']) == 'yes'",
|
||||
"_width:needed:cars=feat.get('_car_width') * (2 - feat.get('_oneway_car'))",
|
||||
"_width:needed:cars=get(feat)('_car_width') * (2 - get(feat)('_oneway_car'))",
|
||||
"_cycling_allowed=feat.properties.bicycle != 'use_sidepath' && feat.properties.bicycle!='no'",
|
||||
"_oneway_bicycle=((feat.properties['oneway:bicycle'] ?? feat.properties['oneway']) == 'yes') && feat.properties['cycleway'] != 'opposite'",
|
||||
"_width:needed:cyclists=feat.get('_cycling_allowed') ? (feat.get('_cyclistWidth') * (2 - feat.get('_oneway_bicycle'))) : 0",
|
||||
"_width:needed:total:=feat.get('_width:needed:cars') + feat.get('_width:needed:parking') + feat.get('_width:needed:cyclists') + feat.get('_width:needed:pedestrians')",
|
||||
"_width:difference:=feat.get('_width:needed:total') - feat.get('width:carriageway')",
|
||||
"_width:difference:no_pedestrians:=feat.get('_width:difference') - feat.get('_width:needed:pedestrians')"
|
||||
"_width:needed:cyclists=get(feat)('_cycling_allowed') ? (get(feat)('_cyclistWidth') * (2 - get(feat)('_oneway_bicycle'))) : 0",
|
||||
"_width:needed:total:=get(feat)('_width:needed:cars') + get(feat)('_width:needed:parking') + get(feat)('_width:needed:cyclists') + get(feat)('_width:needed:pedestrians')",
|
||||
"_width:difference:=get(feat)('_width:needed:total') - get(feat)('width:carriageway')",
|
||||
"_width:difference:no_pedestrians:=get(feat)('_width:difference') - get(feat)('_width:needed:pedestrians')"
|
||||
],
|
||||
"minzoom": 12,
|
||||
"source": {
|
||||
|
@ -271,4 +271,4 @@
|
|||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue