]> git.openstreetmap.org Git - rails.git/commitdiff
Update station mapnik map key
authorAnton Khorev <tony29@yandex.ru>
Mon, 11 Dec 2023 09:02:33 +0000 (12:02 +0300)
committerAnton Khorev <tony29@yandex.ru>
Mon, 11 Dec 2023 09:02:33 +0000 (12:02 +0300)
https://github.com/gravitystorm/openstreetmap-carto/blob/47a96cb6092198ba37992351a4059336ed58ae96/style/stations.mss#L21

app/assets/images/key/mapnik/station.png [deleted file]
config/key.yml

diff --git a/app/assets/images/key/mapnik/station.png b/app/assets/images/key/mapnik/station.png
deleted file mode 100644 (file)
index 6c36e3c..0000000
Binary files a/app/assets/images/key/mapnik/station.png and /dev/null differ
index 835b1ba33d4e2fb08cc5bc4b565c98bbfcd8bbe6..94ac6943ea15d5323e7c5a46453f90a2437f297d 100644 (file)
@@ -63,8 +63,11 @@ mapnik:
   - { min_zoom: 14, name: building, width: 10, height: 10, fill: "#ab9793" }
   - { min_zoom: 15, name: building, image: building15.svg }
   - { min_zoom: 16, name: building, image: building16.svg }
+  # stations: stations.mss
+  - { min_zoom: 12, name: station, width: 4, height: 4, fill: "#7981b0" }
+  - { min_zoom: 13, name: station, width: 6, height: 6, fill: "#7981b0" }
+  - { min_zoom: 15, name: station, width: 9, height: 9, fill: "#7981b0" }
   # other
-  - { min_zoom: 12, max_zoom: 19, name: station, image: station.png }
   - { min_zoom: 11, max_zoom: 19, name: summit, image: summit.png }
   - { min_zoom: 12, max_zoom: 19, name: tunnel, image: tunnel.png }
   - { min_zoom: 13, max_zoom: 19, name: bridge, image: bridge.png }