openstreetmap / openstreetmap-website

The Rails application that powers OpenStreetMap
https://www.openstreetmap.org/
GNU General Public License v2.0
2.22k stars 918 forks source link

Collect map layer credits into a data structure #5348

Closed AntonKhorev closed 4 days ago

AntonKhorev commented 4 days ago

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.

tomhughes commented 4 days ago

Looks good to me, thanks.