]> git.openstreetmap.org Git - rails.git/commitdiff
Add national bike route map key for CyclOSM
authorAnton Khorev <tony29@yandex.ru>
Sat, 12 Apr 2025 15:58:11 +0000 (18:58 +0300)
committerAnton Khorev <tony29@yandex.ru>
Sat, 12 Apr 2025 17:16:11 +0000 (20:16 +0300)
config/key.yml

index dc5403e508a1999c462beb4260769f8158cf7793..931facbc4fdba9d022ca3dbb03ca9d02213d448f 100644 (file)
@@ -116,6 +116,16 @@ cyclosm:
   - { min_zoom: 16, name: international_bike_route, width: 50, height:  7, fill: "#ff00ff", opacity: 0.25 }
   - { min_zoom: 17, name: international_bike_route, width: 50, height: 10, fill: "#ff00ff", opacity: 0.25 }
   - { min_zoom: 18, name: international_bike_route, width: 50, height: 14, fill: "#ff00ff", opacity: 0.25 }
+  - { min_zoom:  5, name: national_bike_route,      width: 50, height:  1, fill: "#aa00ff", opacity: 0.75 }
+  - { min_zoom:  8, name: national_bike_route,      width: 50, height:  1, fill: "#aa00ff", opacity: 0.6 }
+  - { min_zoom:  9, name: national_bike_route,      width: 50, height:  2, fill: "#aa00ff", opacity: 0.6 }
+  - { min_zoom: 11, name: national_bike_route,      width: 50, height:  3, fill: "#aa00ff", opacity: 0.25 }
+  - { min_zoom: 12, name: national_bike_route,      width: 50, height:  4, fill: "#aa00ff", opacity: 0.25 }
+  - { min_zoom: 14, name: national_bike_route,      width: 50, height:  5, fill: "#aa00ff", opacity: 0.25 }
+  - { min_zoom: 15, name: national_bike_route,      width: 50, height:  6, fill: "#aa00ff", opacity: 0.25 }
+  - { min_zoom: 16, name: national_bike_route,      width: 50, height:  7, fill: "#aa00ff", opacity: 0.25 }
+  - { min_zoom: 17, name: national_bike_route,      width: 50, height: 10, fill: "#aa00ff", opacity: 0.25 }
+  - { min_zoom: 18, name: national_bike_route,      width: 50, height: 14, fill: "#aa00ff", opacity: 0.25 }
 cyclemap:
   - { min_zoom:  5, name: motorway, width: 50, height: 2, fill: "#9a9ab1" }
   - { min_zoom:  9, name: motorway, width: 50, height: 3, fill: "#9a9ab1" }