forked from MapComplete/MapComplete
Theme format refactoring: move line properties into a seperate lineRendering configuration
This commit is contained in:
parent
7b9836f273
commit
a041fbf050
50 changed files with 876 additions and 63 deletions
|
@ -1188,6 +1188,75 @@
|
|||
"location": [
|
||||
"point"
|
||||
]
|
||||
},
|
||||
{
|
||||
"color": {
|
||||
"render": "rgba(170, 170, 170, 0.7)",
|
||||
"mappings": [
|
||||
{
|
||||
"if": "highway=cycleway",
|
||||
"then": "rgba(0, 189, 141, 0.7)"
|
||||
},
|
||||
{
|
||||
"if": "highway=path",
|
||||
"then": "rgba(204, 74, 207, 0.7)"
|
||||
},
|
||||
{
|
||||
"if": "cycleway=track",
|
||||
"then": "rgba(113, 3, 200, 0.7)"
|
||||
},
|
||||
{
|
||||
"if": "cycleway=shared_lane",
|
||||
"then": "rgba(74, 59, 247, 0.7)"
|
||||
},
|
||||
{
|
||||
"if": "cycleway=lane",
|
||||
"then": "rgba(254, 155, 6, 0.9)"
|
||||
},
|
||||
{
|
||||
"if": "cyclestreet=yes",
|
||||
"then": "rgba(57, 159, 191, 0.7)"
|
||||
}
|
||||
]
|
||||
},
|
||||
"width": {
|
||||
"render": "8"
|
||||
},
|
||||
"dashArray": {
|
||||
"render": "",
|
||||
"mappings": [
|
||||
{
|
||||
"if": {
|
||||
"or": [
|
||||
"oneway=yes",
|
||||
{
|
||||
"or": [
|
||||
"highway=cycleway",
|
||||
"highway=path"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"then": ""
|
||||
},
|
||||
{
|
||||
"if": "cycleway=track",
|
||||
"then": ""
|
||||
},
|
||||
{
|
||||
"if": "cycleway=shared_lane",
|
||||
"then": "15 30"
|
||||
},
|
||||
{
|
||||
"if": "cycleway=lane",
|
||||
"then": "25 15 15 15 25"
|
||||
},
|
||||
{
|
||||
"if": "cyclestreet=yes",
|
||||
"then": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue