Refactoring: moved pointRenderingConfig into seperate part of the configuration, removed roaming rendering capabilities

This commit is contained in:
Pieter Vander Vennet 2021-10-19 03:00:57 +02:00
parent 584ade8e61
commit 1852eb8e52
74 changed files with 1868 additions and 193 deletions

View file

@ -535,5 +535,49 @@
"leisure="
]
}
}
},
"mapRendering": [
{
"icon": {
"render": "./assets/themes/playgrounds/playground.svg"
},
"iconOverlays": [
{
"if": {
"and": [
"opening_hours!=24/7",
"opening_hours~*"
]
},
"then": "isOpen",
"badge": true
}
],
"iconSize": {
"render": "40,40,center",
"mappings": [
{
"if": "id~node/.*",
"then": "40,40,center"
},
{
"if": "_size_classification=small",
"then": "25,25,center"
},
{
"if": "_size_classification=medium",
"then": "40,40,center"
},
{
"if": "_size_classification=large",
"then": "60,60,center"
}
]
},
"location": [
"point",
"centroid"
]
}
]
}