forked from MapComplete/MapComplete
Refactoring: moved pointRenderingConfig into seperate part of the configuration, removed roaming rendering capabilities
This commit is contained in:
parent
584ade8e61
commit
1852eb8e52
74 changed files with 1868 additions and 193 deletions
|
@ -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"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue