Rename iconse to include 'mph' as workaround to fix #981

This commit is contained in:
Pieter Vander Vennet 2022-08-18 19:26:29 +02:00
parent 2cdb7f332e
commit 05a707d3e0
16 changed files with 34 additions and 31 deletions

View file

@ -110,16 +110,19 @@
"allowSplit": true,
"mapRendering": [
{
"render": null,
"icon": {
"render": null,
"mappings": [
{
"if": "maxspeed~[1-9]0|1[0-4]0",
"then": "./assets/themes/maxspeed/maxspeed_{maxspeed} mph.svg"
},
{
"if": "maxspeed~[1-9]0|1[0-4]0 mph",
"then": "./assets/themes/maxspeed/maxspeed_{maxspeed}.svg"
}
]
},
"condition": "maxspeed!=30",
"iconSize": {
"render": "32,32,center"
},