Follows #5388. Removes hardcoded layer id checks in *Share > Image*, except for one special mapnik check.
If a layer that can't be downloaded is selected, the message shows a list of available layers: Before:  After:  You can view, comment on, or merge this pull request online at: https://github.com/openstreetmap/openstreetmap-website/pull/5416 -- Commit Summary -- * Add 'canDownloadImage' layer option * Change image download warning message to a list -- File Changes -- M app/assets/javascripts/leaflet.share.js (33) M config/layers.yml (3) M config/locales/en.yml (2) -- Patch Links -- https://github.com/openstreetmap/openstreetmap-website/pull/5416.patch https://github.com/openstreetmap/openstreetmap-website/pull/5416.diff -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/5416 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