[openstreetmap/openstreetmap-website] Update color of mapnik map key for lakes (PR #4388)
Anton Khorev
notifications at github.com
Sun Dec 3 23:09:34 UTC 2023
The color was changed here:
https://github.com/gravitystorm/openstreetmap-carto/commit/5fd79b7bfad1d895c543e52838c65657fcd9fe1a#diff-7e644412d4287e20f0fe9e717feafdfeaf35670f5ebc2fb20a35ca067aece622L5
There are more color changes to be done. In many cases map key images are just solid rectangles. It's easier to set their size and color in `key.yml`, rather than to point to an external image, which nobody updates for years. Here I generate a svg data uri from width, height and fill properties in `key.yml`.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/4388
-- Commit Summary --
* Update color of mapnik map key for lakes
-- File Changes --
D app/assets/images/key/mapnik/lake.png (0)
M app/views/site/key.html.erb (6)
M config/key.yml (2)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/4388.patch
https://github.com/openstreetmap/openstreetmap-website/pull/4388.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4388
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/4388 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20231203/6d8ee11e/attachment.htm>
More information about the rails-dev
mailing list