forked from MapComplete/MapComplete
Remove broken dashArray-code, add check
This commit is contained in:
parent
b4941ace8f
commit
5a93910b6e
6 changed files with 10 additions and 100 deletions
|
@ -268,42 +268,7 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
"width": "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": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
"width": "8"
|
||||
}
|
||||
],
|
||||
"tagRenderings": [
|
||||
|
|
|
@ -101,33 +101,7 @@
|
|||
"lineRendering": [
|
||||
{
|
||||
"color": "#eaba2a",
|
||||
"width": "7",
|
||||
"dashArray": {
|
||||
"render": "",
|
||||
"mappings": [
|
||||
{
|
||||
"if": "highway=cycleway",
|
||||
"then": ""
|
||||
},
|
||||
{
|
||||
"if": "highway=path",
|
||||
"then": "0 12"
|
||||
},
|
||||
{
|
||||
"if": {
|
||||
"or": [
|
||||
"highway=footway",
|
||||
"highway=pedestrian"
|
||||
]
|
||||
},
|
||||
"then": "12 18"
|
||||
},
|
||||
{
|
||||
"if": "highway=living_street",
|
||||
"then": "12 12 0 12"
|
||||
}
|
||||
]
|
||||
}
|
||||
"width": "7"
|
||||
}
|
||||
],
|
||||
"presets": [],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue