Improve cycle highway rendering

This commit is contained in:
Pieter Vander Vennet 2024-08-16 14:28:53 +02:00
parent 61575a9909
commit bbeb6b6e95
2 changed files with 43 additions and 6 deletions

View file

@ -87,14 +87,14 @@
"source": {
"osmTags": "cycle_network=BE-VLG:cycle_highway"
},
"minzoom": 8,
"minzoom": 6,
"title": {
"render": {
"en": "cycle highway",
"en": "Cycle highway",
"de": "Radschnellweg",
"ca": "via ciclista",
"ca": "Via ciclista",
"fr": "Aménagement cyclable",
"nl": "fietssnelweg",
"nl": "Fietssnelweg",
"es": "autovía ciclista",
"nb_NO": "sykkelmotorvei",
"da": "cykelmotorvej",
@ -213,4 +213,4 @@
"width": "4"
}
]
}
}

View file

@ -38,8 +38,45 @@
],
"hideFromOverview": true,
"layers": [
{
"builtin": "cycle_highways",
"override": {
"source": {
"osmTags": {
"and+": [
"note:state=has_highway_no"
]
}
},
"id": "cycle_highways_no_highway",
"lineRendering": [
{
"dashArray": "0.25 2"
}
]
}
},
{
"builtin": "cycle_highways",
"override": {
"source": {
"osmTags": {
"and+": [
"note:state=has_highway_under_construction"
]
}
},
"id": "cycle_highways_under-construction",
"lineRendering": [
{
"dashArray": "0.75 2"
}
]
}
},
"cycle_highways"
],
"overpassTimeout": 60,
"widenFactor": 1.1
}
}