Relinting themes, move rendering info to 'mapRendering'
This commit is contained in:
parent
f1f955233b
commit
d3de5475cd
11 changed files with 573 additions and 420 deletions
|
@ -177,31 +177,6 @@
|
|||
"id": "hackerspaces-start_date"
|
||||
}
|
||||
],
|
||||
"icon": {
|
||||
"render": "./assets/themes/hackerspaces/glider.svg",
|
||||
"mappings": [
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"hackerspace=makerspace"
|
||||
]
|
||||
},
|
||||
"then": {
|
||||
"en": "./assets/themes/hackerspaces/led.png",
|
||||
"de": "./assets/themes/hackerspaces/led.png"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"width": {
|
||||
"render": "8"
|
||||
},
|
||||
"iconSize": {
|
||||
"render": "40,40,center"
|
||||
},
|
||||
"color": {
|
||||
"render": "#00f"
|
||||
},
|
||||
"presets": [
|
||||
{
|
||||
"tags": [
|
||||
|
@ -231,14 +206,48 @@
|
|||
}
|
||||
}
|
||||
],
|
||||
"wayHandling": 2,
|
||||
"source": {
|
||||
"osmTags": {
|
||||
"and": [
|
||||
"leisure=hackerspace"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"mapRendering": [
|
||||
{
|
||||
"icon": {
|
||||
"render": "./assets/themes/hackerspaces/glider.svg",
|
||||
"mappings": [
|
||||
{
|
||||
"if": {
|
||||
"and": [
|
||||
"hackerspace=makerspace"
|
||||
]
|
||||
},
|
||||
"then": {
|
||||
"en": "./assets/themes/hackerspaces/led.png",
|
||||
"de": "./assets/themes/hackerspaces/led.png"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"iconSize": {
|
||||
"render": "40,40,center"
|
||||
},
|
||||
"location": [
|
||||
"point",
|
||||
"centroid"
|
||||
]
|
||||
},
|
||||
{
|
||||
"color": {
|
||||
"render": "#00f"
|
||||
},
|
||||
"width": {
|
||||
"render": "8"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue