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": { "source": {
"osmTags": "cycle_network=BE-VLG:cycle_highway" "osmTags": "cycle_network=BE-VLG:cycle_highway"
}, },
"minzoom": 8, "minzoom": 6,
"title": { "title": {
"render": { "render": {
"en": "cycle highway", "en": "Cycle highway",
"de": "Radschnellweg", "de": "Radschnellweg",
"ca": "via ciclista", "ca": "Via ciclista",
"fr": "Aménagement cyclable", "fr": "Aménagement cyclable",
"nl": "fietssnelweg", "nl": "Fietssnelweg",
"es": "autovía ciclista", "es": "autovía ciclista",
"nb_NO": "sykkelmotorvei", "nb_NO": "sykkelmotorvei",
"da": "cykelmotorvej", "da": "cykelmotorvej",

View file

@ -38,6 +38,43 @@
], ],
"hideFromOverview": true, "hideFromOverview": true,
"layers": [ "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" "cycle_highways"
], ],
"overpassTimeout": 60, "overpassTimeout": 60,