From: Anton Khorev Date: Sat, 12 Apr 2025 15:41:59 +0000 (+0300) Subject: Add international bike route map key for CyclOSM X-Git-Tag: live~49^2~3 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/4db98f9293ffe4ae67b3a774cba000e6f48e3a41?ds=inline;hp=--cc Add international bike route map key for CyclOSM --- 4db98f9293ffe4ae67b3a774cba000e6f48e3a41 diff --git a/config/key.yml b/config/key.yml index f36f2946b..dc5403e50 100644 --- a/config/key.yml +++ b/config/key.yml @@ -104,6 +104,18 @@ mapnik: - { min_zoom: 15, name: private, image: private.png } - { min_zoom: 15, name: destination, image: destination.png } - { min_zoom: 12, name: construction, image: construction.png } +cyclosm: + # bicycle routes: roads.mss, road-colors.mss + - { min_zoom: 2, name: international_bike_route, width: 50, height: 1, fill: "#ff00ff", opacity: 0.75 } + - { min_zoom: 8, name: international_bike_route, width: 50, height: 1, fill: "#ff00ff", opacity: 0.6 } + - { min_zoom: 9, name: international_bike_route, width: 50, height: 2, fill: "#ff00ff", opacity: 0.6 } + - { min_zoom: 11, name: international_bike_route, width: 50, height: 3, fill: "#ff00ff", opacity: 0.25 } + - { min_zoom: 12, name: international_bike_route, width: 50, height: 4, fill: "#ff00ff", opacity: 0.25 } + - { min_zoom: 14, name: international_bike_route, width: 50, height: 5, fill: "#ff00ff", opacity: 0.25 } + - { min_zoom: 15, name: international_bike_route, width: 50, height: 6, fill: "#ff00ff", opacity: 0.25 } + - { 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 } cyclemap: - { min_zoom: 5, name: motorway, width: 50, height: 2, fill: "#9a9ab1" } - { min_zoom: 9, name: motorway, width: 50, height: 3, fill: "#9a9ab1" } diff --git a/config/locales/en.yml b/config/locales/en.yml index d99202b54..ddcc672cc 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -2529,6 +2529,7 @@ en: track: "Track" bridleway: "Bridleway" cycleway: "Cycleway" + international_bike_route: "International bike route" national_bike_route: "National bike route" regional_bike_route: "Regional bike route" local_bike_route: "Local bike route"