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/5...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to