Dynamic icon size
This commit is contained in:
parent
aec80fa9a7
commit
4ae84537f7
1 changed files with 14 additions and 1 deletions
|
@ -181,7 +181,20 @@
|
|||
"mapRendering": [
|
||||
{
|
||||
"icon": "./assets/themes/onwheels/parking.svg",
|
||||
"iconSize": "40,40,bottom"
|
||||
"iconSize": {
|
||||
"render": "20,20,bottom",
|
||||
"mappings": [
|
||||
{
|
||||
"if": {
|
||||
"or": [
|
||||
"capacity:disabled>0",
|
||||
"capacity:disabled=yes"
|
||||
]
|
||||
},
|
||||
"then": "40,40,bottom"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"color": "#225f92"
|
||||
|
|
Loading…
Reference in a new issue