Relinting themes, move rendering info to 'mapRendering'

This commit is contained in:
Pieter Vander Vennet 2021-11-04 22:31:14 +01:00
parent f1f955233b
commit d3de5475cd
11 changed files with 573 additions and 420 deletions

View file

@ -116,39 +116,6 @@
"de": "Radschnellweg"
}
},
"width": {
"render": "4"
},
"color": {
"render": "#ff7392",
"mappings": [
{
"if": "state=",
"then": "#00acfc"
},
{
"if": "state=temporary",
"then": "#00acfc"
}
]
},
"dashArray": {
"render": "",
"mappings": [
{
"if": "state=temporary",
"then": "12 10"
},
{
"if": "note:state=has_highway_no",
"then": "0 8"
},
{
"if": "note:state=has_highway_under_construction",
"then": "12 10"
}
]
},
"filter": [
{
"id": "name-alt",
@ -236,6 +203,43 @@
}
]
}
],
"mapRendering": [
{
"color": {
"render": "#ff7392",
"mappings": [
{
"if": "state=",
"then": "#00acfc"
},
{
"if": "state=temporary",
"then": "#00acfc"
}
]
},
"width": {
"render": "4"
},
"dashArray": {
"render": "",
"mappings": [
{
"if": "state=temporary",
"then": "12 10"
},
{
"if": "note:state=has_highway_no",
"then": "0 8"
},
{
"if": "note:state=has_highway_under_construction",
"then": "12 10"
}
]
}
}
]
}
],