Can we have a proper map layer configuration that can be edited without going 
into javascript and altering bits across different files? I started doing this, 
here's a subtask of making a configuration for layer credits. It removes a 
bunch of interdependent variables like `var cyclosm_link`, `var 
osm_france_link`, `var cyclosm` etc.

You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Collect map layer credits into a data structure

-- File Changes --

    M app/assets/javascripts/leaflet.map.js (157)

-- Patch Links --

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

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5348
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