[openstreetmap/openstreetmap-website] Dark Mode for maps (Issue #5328)
Andy Allan
notifications at github.com
Wed Dec 11 17:15:18 UTC 2024
Some people are asking why this is taking a long time to fix, but from my own side unfortunately personal circumstances have had a large part to play. Thank you to everyone for you patience.
I haven't seen any substantial counter-proposal to my "option 4c" suggestion ("Cartographers choose") earlier:
https://github.com/openstreetmap/openstreetmap-website/issues/5328#issuecomment-2488361637
I'm therefore going to say that this is the approach we will take for now. So to clarify:
* For each featured layer, the cartographers can supply an alternative url to be used when dark mode maps are desired
* If there is no alternative url, then the cartographers can supply a set of filters (either darken, or rotate+invert, or similar) for their featured style when dark mode maps are desired
* If there is no alternative url, and no desire from the cartographers to apply filters, then the original maps are shown unaltered when dark mode maps are desired
By "desired" I mean the final outcome of browser request + user preferences, see #5362
(Note: At some point in the future, we might add more functionality to allow individual users to supply their own individual layer filters (or maybe even alternative urls) but that's not what I'm focussed on right now.)
The next steps are therefore:
* Remove the site-wide filter that's currently applied to all map layers, unless that's requested for specific featured layers
* Allow the cartographers for each map layer to either provide a second url, or a list of filters, to apply to their individual map layer in dark mode.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/5328#issuecomment-2536594655
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/5328/2536594655 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20241211/2f3d8a60/attachment.htm>
More information about the rails-dev
mailing list