[openstreetmap/openstreetmap-website] Use map tiles dark mode without leaflet-osm plugin (PR #5397)

Marwin Hochfelsner notifications at github.com
Fri Dec 13 09:09:55 UTC 2024


Like #5396 but without involving leaflet-osm.
Again, since embeds carry no color scheme preferences, I skipped the partially redundant implementation there.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/5397

-- Commit Summary --

  * Add dark Transport tile url
  * Add adding of layer scheme class to DOM
  * Add logic to display dark map tiles

-- File Changes --

    M app/assets/javascripts/leaflet.layers.js (3)
    M app/assets/javascripts/leaflet.map.js (30)
    M config/layers.yml (1)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/5397.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5397.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5397
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/5397 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20241213/d00edce9/attachment.htm>


More information about the rails-dev mailing list