Added W22 signal sign

+Added a definition and an icon for the W22 signal sign
This commit is contained in:
izawartka 2025-08-01 14:01:27 +02:00
parent 3824ae1463
commit 60488037fe
3 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg width="100mm" height="100mm" version="1.1" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
<path d="m53.157 36.32c-1.7309-1.7309-4.5834-1.7308-6.3142 0l-10.524 10.524c-1.7309 1.7309-1.7308 4.5834 0 6.3142l10.524 10.524c1.7309 1.7309 4.5834 1.7308 6.3142 0l10.524-10.524c1.7309-1.7309 1.7308-4.5834 0-6.3142z" class="background"/>
<path d="m53.508 34.799c-1.9231-1.9231-5.0927-1.9231-7.0158 0l-11.693 11.693c-1.9231 1.9231-1.9231 5.0927 0 7.0158l11.693 11.693c1.9231 1.9231 5.0927 1.9231 7.0158 0l11.693-11.693c1.9231-1.9231 1.9231-5.0927 0-7.0158zm-2.3386 2.3386 11.693 11.693c0.66802 0.66802 0.668 1.6705 0 2.3385l-11.693 11.693c-0.66802 0.66802-1.6705 0.668-2.3385 0l-11.693-11.693c-0.66802-0.66802-0.668-1.6705 0-2.3385l11.693-11.693c0.66802-0.66802 1.6705-0.668 2.3385 0z"/>
<path d="m43.734 45a1.6536 1.6536 0 0 0-1.6542 1.6542 1.6536 1.6536 0 0 0 1.6542 1.6526h4.6116v10.693a1.6536 1.6536 0 0 0 1.6542 1.6542 1.6536 1.6536 0 0 0 1.6521-1.6542l0.0021-10.693h4.6095a1.6536 1.6536 0 0 0 1.6541-1.6526 1.6536 1.6536 0 0 0-1.6542-1.6542z"/>
</svg>

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -9,6 +9,11 @@ const DefinedSignalSigns = {
"icon": "w1.svg",
"height": 1.28504,
},
"w22": {
"regex": /^(?:wsk_)?w22(?:\D)?.*$/,
"name": "W22",
"icon": "w22.svg",
},
"w2k": {
"regex": /^w2k/,
"name": "W2 K",

View File

@ -41,6 +41,11 @@ const DefinedSigns = {
"textOffsetX": 1.89,
"textOffsetY": 1.89
},
"w22": {
"name": "W22",
"offsetY": 3.89,
"attachAs": "w22", // no icon - signal sign only
},
"w23": {
"name": "W23",
"icon": "w23.svg",