forked from MapComplete/MapComplete
Try to fix build fail after color scheme change
This commit is contained in:
parent
63708ea568
commit
3606a5d160
2 changed files with 50 additions and 15 deletions
|
@ -16,7 +16,7 @@
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"minzoom": 14,
|
"minzoom": 17,
|
||||||
"title": {
|
"title": {
|
||||||
"render": {
|
"render": {
|
||||||
"en": "Crossing",
|
"en": "Crossing",
|
||||||
|
|
|
@ -17,13 +17,14 @@
|
||||||
"nl"
|
"nl"
|
||||||
],
|
],
|
||||||
"maintainer": "",
|
"maintainer": "",
|
||||||
|
"defaultBackgroundId": "CartoDB.Positron",
|
||||||
"icon": "./assets/svg/cycle-infra.svg",
|
"icon": "./assets/svg/cycle-infra.svg",
|
||||||
"version": "0",
|
"version": "0",
|
||||||
"startLat": 51,
|
"startLat": 51,
|
||||||
"startLon": 3.75,
|
"startLon": 3.75,
|
||||||
"startZoom": 11,
|
"startZoom": 11,
|
||||||
"widenFactor": 0.05,
|
"widenFactor": 0.05,
|
||||||
"socialImage": "",
|
"socialImage": "./assets/svg/cycle-infra.svg",
|
||||||
"enableDownload": true,
|
"enableDownload": true,
|
||||||
"layers": [
|
"layers": [
|
||||||
{
|
{
|
||||||
|
@ -775,31 +776,65 @@
|
||||||
},
|
},
|
||||||
"color": {
|
"color": {
|
||||||
"render": "#aaaaaa",
|
"render": "#aaaaaa",
|
||||||
|
"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)"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"dashArray": {
|
||||||
|
"render": "",
|
||||||
"mappings": [
|
"mappings": [
|
||||||
{
|
{
|
||||||
"if": {
|
"if": {
|
||||||
|
"or": [
|
||||||
|
"oneway=yes",
|
||||||
|
{
|
||||||
"or": [
|
"or": [
|
||||||
"highway=cycleway",
|
"highway=cycleway",
|
||||||
"highway=path"
|
"highway=path"
|
||||||
]
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"then": "#00ff00"
|
"then": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"if": "cycleway=track",
|
"if": "cycleway=track",
|
||||||
"then": "#45c445"
|
"then": "30 15"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"if": "cycleway=shared_lane",
|
"if": "cycleway=shared_lane",
|
||||||
"then": "#ff0000"
|
"then": "15 30"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"if": "cycleway=lane",
|
"if": "cycleway=lane",
|
||||||
"then": "#ff9900"
|
"then": "25 15 15 15 25"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"if": "cyclestreet=yes",
|
"if": "cyclestreet=yes",
|
||||||
"then": "#0000ff"
|
"then": ""
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -826,7 +861,7 @@
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"minzoom": 19,
|
"minzoom": 14,
|
||||||
"wayHandling": 0,
|
"wayHandling": 0,
|
||||||
"title": {
|
"title": {
|
||||||
"render": {
|
"render": {
|
||||||
|
@ -989,7 +1024,7 @@
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"minzoom": 14,
|
"minzoom": 17,
|
||||||
"title": {
|
"title": {
|
||||||
"render": {
|
"render": {
|
||||||
"en": "Barrier",
|
"en": "Barrier",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue