]> git.openstreetmap.org Git - rails.git/commitdiff
Add pedestrian way to cyclemap map key
authorAnton Khorev <tony29@yandex.ru>
Fri, 15 Dec 2023 14:32:42 +0000 (17:32 +0300)
committerAnton Khorev <tony29@yandex.ru>
Fri, 15 Dec 2023 14:32:42 +0000 (17:32 +0300)
app/assets/images/key/cyclemap/pedestrian.svg [new file with mode: 0644]
config/key.yml
config/locales/en.yml

diff --git a/app/assets/images/key/cyclemap/pedestrian.svg b/app/assets/images/key/cyclemap/pedestrian.svg
new file mode 100644 (file)
index 0000000..af8fce1
--- /dev/null
@@ -0,0 +1,3 @@
+<svg xmlns='http://www.w3.org/2000/svg' width='50' height='4'>
+<rect x='-.5' y='.5' width='51' height='3' fill='#e2e3e2' stroke='#9a9a9a' />
+</svg>
index f64ab8b372a306e911e4ff055810c0283e42e044..42cd40c20deb464565d71394e2395c5e2c51497b 100644 (file)
@@ -93,6 +93,7 @@ cyclemap:
   - { min_zoom: 12, max_zoom: 19, name: primary, image: primary12.png }
   - { min_zoom: 9, max_zoom: 11, name: secondary, image: secondary.png }
   - { min_zoom: 12, max_zoom: 19, name: secondary, image: secondary12.png }
   - { min_zoom: 12, max_zoom: 19, name: primary, image: primary12.png }
   - { min_zoom: 9, max_zoom: 11, name: secondary, image: secondary.png }
   - { min_zoom: 12, max_zoom: 19, name: secondary, image: secondary12.png }
+  - { min_zoom: 15, name: pedestrian, image: pedestrian.svg }
   - { min_zoom: 13, max_zoom: 19, name: track, image: track.png }
   - { min_zoom: 8, max_zoom: 19, name: cycleway, image: cycleway.png }
   - { min_zoom: 5, max_zoom: 12, name: cycleway_national, image: cycleway_national.png }
   - { min_zoom: 13, max_zoom: 19, name: track, image: track.png }
   - { min_zoom: 8, max_zoom: 19, name: cycleway, image: cycleway.png }
   - { min_zoom: 5, max_zoom: 12, name: cycleway_national, image: cycleway_national.png }
index 31563243ad0f209cfa4027c28e6af392ad39ce51..c074ad8f287de1c2f8710d4c4b15e1d9b971fb64 100644 (file)
@@ -2282,6 +2282,7 @@ en:
           primary: "Primary road"
           secondary: "Secondary road"
           unclassified: "Unclassified road"
           primary: "Primary road"
           secondary: "Secondary road"
           unclassified: "Unclassified road"
+          pedestrian: "Pedestrian way"
           track: "Track"
           bridleway: "Bridleway"
           cycleway: "Cycleway"
           track: "Track"
           bridleway: "Bridleway"
           cycleway: "Cycleway"