Fix highway=path and cycleway=track not showing

This commit is contained in:
Robin van der Linde 2021-07-15 10:06:56 +02:00
parent f83090ccfd
commit c1d94cfdee

View file

@ -35,7 +35,11 @@
"highway=cycleway",
"cycleway=shared_lane",
"cycleway=lane",
"cyclestreet=yes"
"cycleway=track",
"cyclestreet=yes",
{
"and": ["highway=path", "bicycle=designated"]
}
]
}
},
@ -46,7 +50,9 @@
},
"mappings": [
{
"if": "highway=cycleway",
"if": {
"or": ["highway=cycleway", "highway=path"]
},
"then": {
"nl": "Fietsweg",
"en": "Bike road"
@ -62,10 +68,17 @@
{
"if": "cycleway=lane",
"then": {
"nl": "Fietsweg naast de weg",
"nl": "Fietsstrook",
"en": "Bike lane"
}
},
{
"if": "cycleway=track",
"then": {
"en": "Bike road next to the road",
"nl": "Fietsweg naast de weg"
}
},
{
"if": "cyclestreet=yes",
"then": {
@ -447,9 +460,15 @@
"render": "#aaaaaa",
"mappings": [
{
"if": "highway=cycleway",
"if": {
"or": ["highway=cycleway", "highway=path"]
},
"then": "#00ff00"
},
{
"if": "cycleway=track",
"then": "#45c445"
},
{
"if": "cycleway=shared_lane",
"then": "#ff0000"