[openstreetmap/openstreetmap-website] Add copyright/attribution message to downloaded map images (PR #5607)

mmd notifications at github.com
Tue Feb 4 18:28:04 UTC 2025


This PR adds the UI facing parts for https://github.com/openstreetmap/chef/pull/735 and adds WebP as as additional output format, as well as a checkbox to toggle copyright/attribution in the map export.

![image](https://github.com/user-attachments/assets/037f8b7c-a09a-4841-9b8b-8ed9d4667f87)

* Fixes #735
* Depends on https://github.com/openstreetmap/chef/pull/735
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Add copyright/attribution message to downloaded map images

-- File Changes --

    M app/assets/javascripts/leaflet.share.js (20)
    M app/controllers/export_controller.rb (3)
    M config/locales/en.yml (1)
    M test/controllers/export_controller_test.rb (4)

-- Patch Links --

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

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

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


More information about the rails-dev mailing list