[openstreetmap/openstreetmap-website] Use dark mode map tiles in embed (PR #5522)
Marwin Hochfelsner
notifications at github.com
Sun Jan 19 18:41:33 UTC 2025
Improved unlinted version of #5519

You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/5522
-- Commit Summary --
* Add syntactic sugar to URL argument extraction
* Shorten bbox application logic
* Restructure layer handler to reduce repetition
* Add layer-type switching to use dark tiles
-- File Changes --
M app/assets/javascripts/embed.js.erb (38)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/5522.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5522.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5522
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5522 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250119/09eed9af/attachment.htm>
More information about the rails-dev
mailing list