[openstreetmap/openstreetmap-website] Use baselayerchange/overlaylayerchange instead of layeradd/layerremove (PR #5474)

Anton Khorev notifications at github.com
Tue Jan 14 15:33:52 UTC 2025


We probably need to fire `baselayerchange` either from `map.setState` or from `map.updateLayers`. Otherwise if you edit `&layers=X` in the location bar, share urls are updated to its previous value.

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

Message ID: <openstreetmap/openstreetmap-website/pull/5474/c2590260927 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250114/48b004dc/attachment.htm>


More information about the rails-dev mailing list