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
|
@ -711,5 +711,41 @@
|
|||
"color": {
|
||||
"render": "#c00"
|
||||
},
|
||||
"wayHandling": 2
|
||||
"wayHandling": 2,
|
||||
"mapRendering": [
|
||||
{
|
||||
"icon": {
|
||||
"render": "./assets/layers/bike_shop/repair_shop.svg",
|
||||
"mappings": [
|
||||
{
|
||||
"if": "operator=De Fietsambassade Gent",
|
||||
"then": "./assets/themes/cyclofix/fietsambassade_gent_logo_small.svg"
|
||||
},
|
||||
{
|
||||
"if": "service:bicycle:retail=yes",
|
||||
"then": "./assets/layers/bike_shop/shop.svg"
|
||||
}
|
||||
]
|
||||
},
|
||||
"iconOverlays": [
|
||||
{
|
||||
"if": "opening_hours~*",
|
||||
"then": "isOpen",
|
||||
"badge": true
|
||||
},
|
||||
{
|
||||
"if": "service:bicycle:pump=yes",
|
||||
"then": "circle:#e2783d;./assets/layers/bike_repair_station/pump.svg",
|
||||
"badge": true
|
||||
}
|
||||
],
|
||||
"iconSize": {
|
||||
"render": "50,50,bottom"
|
||||
},
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue