Studio: WIP
This commit is contained in:
parent
3549a10a15
commit
dc82ebbd58
165 changed files with 2588 additions and 3294 deletions
|
@ -573,84 +573,6 @@
|
|||
]
|
||||
}
|
||||
],
|
||||
"mapRendering": [
|
||||
{
|
||||
"icon": {
|
||||
"render": "circle:white;./assets/layers/sport_pitch/sport_pitch.svg",
|
||||
"mappings": [
|
||||
{
|
||||
"if": {
|
||||
"or": [
|
||||
"sport=baseball",
|
||||
"sport=basketball",
|
||||
"sport=beachvolleyball",
|
||||
"sport=boules",
|
||||
"sport=skateboard",
|
||||
"sport=soccer",
|
||||
"sport=table_tennis",
|
||||
"sport=tennis",
|
||||
"sport=volleyball",
|
||||
"sport=equestrian"
|
||||
]
|
||||
},
|
||||
"then": "circle:white;./assets/layers/sport_pitch/{sport}.svg"
|
||||
}
|
||||
]
|
||||
},
|
||||
"iconBadges": [
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"opening_hours!=24/7",
|
||||
"opening_hours~*"
|
||||
]
|
||||
},
|
||||
"then": "icons.isOpen"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"or": [
|
||||
"access=customers",
|
||||
"access=private",
|
||||
"access=no"
|
||||
]
|
||||
},
|
||||
"then": "circle:white;./assets/layers/sport_pitch/lock.svg"
|
||||
}
|
||||
],
|
||||
"iconSize": {
|
||||
"render": "25,25,center",
|
||||
"mappings": [
|
||||
{
|
||||
"if": {
|
||||
"or": [
|
||||
"_size_classification=medium",
|
||||
"id~node/.*"
|
||||
]
|
||||
},
|
||||
"then": "32,32,center"
|
||||
},
|
||||
{
|
||||
"if": "_size_classification=small",
|
||||
"then": "25,25,center"
|
||||
},
|
||||
{
|
||||
"if": "_size_classification=large",
|
||||
"then": "40,40,center"
|
||||
}
|
||||
]
|
||||
},
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
]
|
||||
},
|
||||
{
|
||||
"color": "#00cc00",
|
||||
"width": "1",
|
||||
"fill": "false"
|
||||
}
|
||||
],
|
||||
"filter": [
|
||||
{
|
||||
"id": "accessibility",
|
||||
|
@ -722,5 +644,85 @@
|
|||
]
|
||||
},
|
||||
"open_now"
|
||||
],
|
||||
"pointRendering": [
|
||||
{
|
||||
"icon": {
|
||||
"render": "circle:white;./assets/layers/sport_pitch/sport_pitch.svg",
|
||||
"mappings": [
|
||||
{
|
||||
"if": {
|
||||
"or": [
|
||||
"sport=baseball",
|
||||
"sport=basketball",
|
||||
"sport=beachvolleyball",
|
||||
"sport=boules",
|
||||
"sport=skateboard",
|
||||
"sport=soccer",
|
||||
"sport=table_tennis",
|
||||
"sport=tennis",
|
||||
"sport=volleyball",
|
||||
"sport=equestrian"
|
||||
]
|
||||
},
|
||||
"then": "circle:white;./assets/layers/sport_pitch/{sport}.svg"
|
||||
}
|
||||
]
|
||||
},
|
||||
"iconBadges": [
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"opening_hours!=24/7",
|
||||
"opening_hours~*"
|
||||
]
|
||||
},
|
||||
"then": "icons.isOpen"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"or": [
|
||||
"access=customers",
|
||||
"access=private",
|
||||
"access=no"
|
||||
]
|
||||
},
|
||||
"then": "circle:white;./assets/layers/sport_pitch/lock.svg"
|
||||
}
|
||||
],
|
||||
"iconSize": {
|
||||
"render": "25,25,center",
|
||||
"mappings": [
|
||||
{
|
||||
"if": {
|
||||
"or": [
|
||||
"_size_classification=medium",
|
||||
"id~node/.*"
|
||||
]
|
||||
},
|
||||
"then": "32,32,center"
|
||||
},
|
||||
{
|
||||
"if": "_size_classification=small",
|
||||
"then": "25,25,center"
|
||||
},
|
||||
{
|
||||
"if": "_size_classification=large",
|
||||
"then": "40,40,center"
|
||||
}
|
||||
]
|
||||
},
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
]
|
||||
}
|
||||
],
|
||||
"lineRendering": [
|
||||
{
|
||||
"color": "#00cc00",
|
||||
"width": "1",
|
||||
"fill": "false"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue