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/c2590260...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to