Refactoring of metatagging and extrafunctions to splice out the relation memberships, add calculatedTags and metatags into cache

This commit is contained in:
Pieter Vander Vennet 2021-04-22 13:30:00 +02:00
parent 362abbf079
commit 0dec1d0f75
10 changed files with 98 additions and 54 deletions

View file

@ -159,32 +159,34 @@
"width": {
"render": "4"
},
"dashArray": "2 10 6 10",
"color": {
"render": "#bb2",
"dashArray": {
"render": "",
"mappings": [
{
"if": "highway=cycleway",
"then": "#00c"
"then": ""
},
{
"if": "highway=path",
"then": "#bb2"
"then": "10 3"
},
{
"if": "highway=footway",
"then": "#c30"
"then": "10 10"
},
{
"if": "highway=pedestrian",
"then": "#3c3"
"then": "10 10"
},
{
"if": "highway=living_street",
"then": "#ccc"
"then": "10 5 3 5"
}
]
},
"color": {
"render": "#eaba2a"
},
"presets": [
]
}