Applies different filters in dark mode: invert+rotate for layers without hillshading, dim for layers with.
Doesn't implement any controls to changing the filter and, consequently, doesn't store selected values. For storing I'd start with deciding if #5339 is ok first.   You can view, comment on, or merge this pull request online at: https://github.com/openstreetmap/openstreetmap-website/pull/5347 -- Commit Summary -- * Manage base layer switching in L.OSM.Map * Set map layer data attribute when switching layers * Add map layer data attributes to layer menu buttons * Apply invert + hue-rotate filter to select layers -- File Changes -- M app/assets/javascripts/leaflet.layers.js (9) M app/assets/javascripts/leaflet.map.js (15) M app/assets/stylesheets/common.scss (14) M app/views/layouts/site.html.erb (2) -- Patch Links -- https://github.com/openstreetmap/openstreetmap-website/pull/5347.patch https://github.com/openstreetmap/openstreetmap-website/pull/5347.diff -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/5347 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