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

Reply via email to