Fix more themes
This commit is contained in:
parent
d2a813b009
commit
255347fc06
16 changed files with 303 additions and 196 deletions
|
@ -103,9 +103,74 @@
|
|||
"tagRenderings": [
|
||||
"images"
|
||||
],
|
||||
"pointRendering": [],
|
||||
"pointRendering": [
|
||||
{
|
||||
"marker": [
|
||||
{
|
||||
"icon": {
|
||||
"render": "./assets/themes/cyclestreets/F111.svg",
|
||||
"mappings": [
|
||||
{
|
||||
"if": "traffic_sign=DE:244.1,1020-30",
|
||||
"then": "./assets/themes/cyclestreets/Zeichen_244_1020-30.svg"
|
||||
},
|
||||
{
|
||||
"if": "traffic_sign=DE:244.1,1022-12,1024-10",
|
||||
"then": "./assets/themes/cyclestreets/Zeichen_244_KFZ_frei.svg"
|
||||
},
|
||||
{
|
||||
"if": "traffic_sign=DE:244.1,1022-12",
|
||||
"then": "./assets/themes/cyclestreets/Zeichen_244_1022-12.svg"
|
||||
},
|
||||
{
|
||||
"if": "traffic_sign=DE:244.1,1024-10",
|
||||
"then": "./assets/themes/cyclestreets/Zeichen_244_1024-10.svg"
|
||||
},
|
||||
{
|
||||
"if": "_country=de",
|
||||
"then": "./assets/themes/cyclestreets/Zeichen_244.svg"
|
||||
},
|
||||
{
|
||||
"if": "_country=fi",
|
||||
"then": "./assets/themes/cyclestreets/Finland_road_sign_E28.svg"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"iconSize": {
|
||||
"render": "40,40,center",
|
||||
"mappings": [
|
||||
{
|
||||
"if": {
|
||||
"or": [
|
||||
"traffic_sign=DE:244.1,1020-30",
|
||||
"traffic_sign=DE:244.1,1022-12,1024-10"
|
||||
]
|
||||
},
|
||||
"then": "40,62,center"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"or": [
|
||||
"traffic_sign=DE:244.1,1022-12",
|
||||
"traffic_sign=DE:244.1,1024-10"
|
||||
]
|
||||
},
|
||||
"then": "40,70,center"
|
||||
}
|
||||
]
|
||||
},
|
||||
"location": [
|
||||
"projected_centerpoint"
|
||||
]
|
||||
}
|
||||
],
|
||||
"lineRendering": [
|
||||
{}
|
||||
{
|
||||
"color": "#0000ff",
|
||||
"width": "10"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -193,9 +258,35 @@
|
|||
"tagRenderings": [
|
||||
"images"
|
||||
],
|
||||
"pointRendering": [],
|
||||
"pointRendering": [
|
||||
{
|
||||
"marker": [
|
||||
{
|
||||
"icon": {
|
||||
"render": "./assets/themes/cyclestreets/F113.svg",
|
||||
"mappings": [
|
||||
{
|
||||
"if": "_country=de",
|
||||
"then": "./assets/themes/cyclestreets/Zeichen_244a.svg"
|
||||
},
|
||||
{
|
||||
"if": "_country=fi",
|
||||
"then": "./assets/themes/cyclestreets/Finland_road_sign_E29.svg"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"location": [
|
||||
"projected_centerpoint"
|
||||
]
|
||||
}
|
||||
],
|
||||
"lineRendering": [
|
||||
{}
|
||||
{
|
||||
"color": "#09f9dd",
|
||||
"width": "5"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -273,9 +364,45 @@
|
|||
"tagRenderings": [
|
||||
"images"
|
||||
],
|
||||
"pointRendering": [],
|
||||
"pointRendering": [
|
||||
{
|
||||
"marker": [
|
||||
{
|
||||
"icon": "./assets/svg/pencil.svg"
|
||||
}
|
||||
],
|
||||
"location": [
|
||||
"projected_centerpoint"
|
||||
]
|
||||
}
|
||||
],
|
||||
"lineRendering": [
|
||||
{}
|
||||
{
|
||||
"color": {
|
||||
"render": "#aaaaaa",
|
||||
"mappings": [
|
||||
{
|
||||
"then": "#0000ff",
|
||||
"if": {
|
||||
"or": [
|
||||
"cyclestreet=yes",
|
||||
"bicycle_road=yes"
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"then": "#09f9dd",
|
||||
"if": {
|
||||
"or": [
|
||||
"proposed:cyclestreet=yes",
|
||||
"proposed:bicycle_road=yes"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"width": "5"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
|
@ -646,4 +773,4 @@
|
|||
"maxZoom": 12,
|
||||
"minNeededElements": 200
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue