]> git.openstreetmap.org Git - rails.git/commitdiff
Update tram mapnik map key
authorAnton Khorev <tony29@yandex.ru>
Mon, 11 Dec 2023 12:21:32 +0000 (15:21 +0300)
committerAnton Khorev <tony29@yandex.ru>
Mon, 11 Dec 2023 12:58:04 +0000 (15:58 +0300)
app/assets/images/key/mapnik/tram.png [deleted file]
app/assets/images/key/mapnik/tram15.svg [new file with mode: 0644]
config/key.yml

diff --git a/app/assets/images/key/mapnik/tram.png b/app/assets/images/key/mapnik/tram.png
deleted file mode 100644 (file)
index 1c64b28..0000000
Binary files a/app/assets/images/key/mapnik/tram.png and /dev/null differ
diff --git a/app/assets/images/key/mapnik/tram15.svg b/app/assets/images/key/mapnik/tram15.svg
new file mode 100644 (file)
index 0000000..8f873f7
--- /dev/null
@@ -0,0 +1,3 @@
+<svg xmlns='http://www.w3.org/2000/svg' width='52' height='3'>
+<line x2='100%' y1='50%' y2='50%' stroke='#6e6e6e' stroke-width='1.5' />
+</svg>
index 646f6c8c6fc4f70c36a92c8bbe93ffdd105c310f..4e7b29c198797af76d3b651105278c72949bf304 100644 (file)
@@ -15,7 +15,10 @@ mapnik:
   - { min_zoom:  8, name: light_rail, width: 52, height: 1, fill: "#ccc" }
   - { min_zoom: 10, name: light_rail, width: 52, height: 1, fill: "#aaa" }
   - { min_zoom: 13, name: light_rail, width: 52, height: 2, fill: "#666" }
-  - { min_zoom: 13, name: tram_only, image: tram.png }
+  - { min_zoom: 12, name: tram_only, width: 52, height: 1, fill: "#6e6e6eaa" }
+  - { min_zoom: 14, name: tram_only, width: 52, height: 1, fill: "#6e6e6e" }
+  - { min_zoom: 15, name: tram_only, image: tram15.svg }
+  - { min_zoom: 17, name: tram_only, width: 52, height: 2, fill: "#6e6e6e" }
   - { min_zoom: 12, max_zoom: 19, name: cable, image: cable.png }
   - { min_zoom: 11, max_zoom: 19, name: runway, image: runway.png }
   - { min_zoom: 12, max_zoom: 19, name: apron, image: apron.png }