[openstreetmap/openstreetmap-website] Use map tiles dark mode from leaflet-osm plugin (PR #5426)
Marwin Hochfelsner
notifications at github.com
Fri Dec 20 12:53:36 UTC 2024
A version between #5396 and #5397 using the updated version of leaflet-osm without requiring it.
Also removing some ifs that always evaluate true and removed the dependency on the `.key-ui`.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/5426
-- Commit Summary --
* Add switching to the dark leaflet-osm map
* Set layer styles in menu
* Specify first leafletOsmDarkId
-- File Changes --
M app/assets/javascripts/leaflet.layers.js (3)
M app/assets/javascripts/leaflet.map.js (25)
M config/layers.yml (1)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/5426.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5426.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5426
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5426 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20241220/1520960f/attachment-0001.htm>
More information about the rails-dev
mailing list