Change icon, fix condition

This commit is contained in:
Robin van der Linde 2023-01-04 19:21:21 +01:00
parent 06eeffc4b6
commit 85fdc7abd4
Signed by untrusted user: Robin-van-der-Linde
GPG key ID: 53956B3252478F0D
5 changed files with 66 additions and 2 deletions

View file

@ -3306,6 +3306,7 @@
},
{
"id": "name",
"condition": "traffic_sign=city_limit",
"question": {
"en": "What place name is on the traffic sign?",
"nl": "Welke plaatsnaam staat er op het verkeersbord?"

View file

@ -380,7 +380,7 @@
},
{
"if": "theme=traffic_sign",
"then": "./assets/layers/traffic_sign/images/unknown.svg"
"then": "./assets/themes/traffic_sign/icon.svg"
},
{
"if": "theme=transit",

View file

@ -0,0 +1,51 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
id="Nederlands_verkeersbord_J37"
width="400"
height="400"
viewBox="0 0 400 400"
version="1.1"
sodipodi:docname="icon.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="defs8" />
<sodipodi:namedview
id="namedview6"
pagecolor="#505050"
bordercolor="#eeeeee"
borderopacity="1"
inkscape:showpageshadow="0"
inkscape:pageopacity="0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#505050"
showgrid="false"
inkscape:zoom="0.78666667"
inkscape:cx="175.42373"
inkscape:cy="150"
inkscape:window-width="3840"
inkscape:window-height="2091"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="Nederlands_verkeersbord_J37" />
<g
id="g354"
transform="matrix(1.1547131,0,0,1.1547131,-2.0728572,26.793035)">
<path
id="rode_driehoek"
fill="#c1121c"
d="m 11,300 c 0,0 16.820331,0 0,0 -14.9165388,0 -7.2195088,-16.14695 -7.2195088,-16.14695 L 164.90679,8.074496 c 0,0 -3.50615,6.116271 0,0 6.25332,-10.927736 14.4041,-10.446589 20.21194,-0.472991 l 161.0933,276.251545 c 0,0 7.70529,16.14695 -7.21203,16.14695 -16.82781,0 0,0 0,0 H 11" />
<path
id="witte_driehoek"
fill="#f7fbf5"
d="M 175.483,73.698 283.20852,259.57553 H 66.297261 L 175.483,73.698" />
<path
id="zwart_symbool"
style="fill:#2a2d2f;stroke:#2a2d2f;stroke-width:1.22561"
d="m 175.00664,215.79575 c 6.30552,0 11.46539,-5.25129 11.46539,-11.67275 v -73.25681 c 0,-6.42146 -5.15987,-11.67275 -11.46539,-11.67275 -6.3437,0 -11.4654,5.25129 -11.4654,11.67275 V 204.123 c 0,6.42146 5.1217,11.67275 11.4654,11.67275 z m 0,32.0686 c 6.34367,0 11.54171,-5.09656 11.54171,-11.37296 0,-6.30539 -5.19804,-11.40194 -11.54171,-11.40194 -6.38184,0 -11.54171,5.09655 -11.54171,11.40194 0,6.2764 5.15987,11.37296 11.54171,11.37296" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.2 KiB

View file

@ -0,0 +1,12 @@
[
{
"path": "icon.svg",
"license": "CC0",
"authors": [
"Ministerie van Infrastructuur en Waterstaat"
],
"sources": [
"https://commons.wikimedia.org/wiki/File:Nederlands_verkeersbord_J37_zonder_onderbord.svg"
]
}
]

View file

@ -9,7 +9,7 @@
"nl": "Kaart met verkeersborden."
},
"hideFromOverview": false,
"icon": "./assets/layers/traffic_sign/images/unknown.svg",
"icon": "./assets/themes/traffic_sign/icon.svg",
"startLat": 0,
"startLon": 0,
"startZoom": 0,