]> git.openstreetmap.org Git - rails.git/commitdiff
Make footway line narrower in cyclemap map key
authorAnton Khorev <tony29@yandex.ru>
Sat, 16 Dec 2023 16:30:36 +0000 (19:30 +0300)
committerAnton Khorev <tony29@yandex.ru>
Sat, 16 Dec 2023 16:30:36 +0000 (19:30 +0300)
app/assets/images/key/cyclemap/footway.png [deleted file]
app/assets/images/key/cyclemap/footway.svg [new file with mode: 0644]
config/key.yml

diff --git a/app/assets/images/key/cyclemap/footway.png b/app/assets/images/key/cyclemap/footway.png
deleted file mode 100644 (file)
index c78756f..0000000
Binary files a/app/assets/images/key/cyclemap/footway.png and /dev/null differ
diff --git a/app/assets/images/key/cyclemap/footway.svg b/app/assets/images/key/cyclemap/footway.svg
new file mode 100644 (file)
index 0000000..ecad174
--- /dev/null
@@ -0,0 +1,3 @@
+<svg xmlns='http://www.w3.org/2000/svg' width='50' height='3'>
+<line x1='-2' x2='52' y1='1.5' y2='1.5' stroke='#bd6d6e' stroke-width='1.5' stroke-dasharray='6 2' />
+</svg>
index ff19321ac32effffbbda09ca6edbe7408ab9d784..003738296854b41c7752611cb1c311e6c3ac03c2 100644 (file)
@@ -102,7 +102,7 @@ cyclemap:
   - { min_zoom: 13, name: cycleway_regional, image: cycleway_regional13.png }
   - { min_zoom:  8, name: cycleway_local, image: cycleway_local.png }
   - { min_zoom: 13, name: cycleway_local, image: cycleway_local13.png }
-  - { min_zoom: 13, name: footway, image: footway.png }
+  - { min_zoom: 13, name: footway, image: footway.svg }
   - { min_zoom:  7, name: rail, image: rail.png }
   - { min_zoom: 14, name: rail, image: rail14.png }
   - { min_zoom:  9, name: forest, image: forest.png }