[openstreetmap/openstreetmap-website] Don't remove-readd standard layer with visible overlays (PR #5573)

Anton Khorev notifications at github.com
Wed Jan 29 11:23:09 UTC 2025


This is a first commit of another fix which I didn't finish yet because of https://github.com/openstreetmap/openstreetmap-website/pull/5570#issuecomment-2621121469 and some other things but it should fix the same problem #5570 fixes.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/5573

-- Commit Summary --

  * Don't remove-readd standard layer when layerParam is not empty in map.updateLayers

-- File Changes --

    M app/assets/javascripts/leaflet.map.js (17)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/5573.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5573.diff

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

Message ID: <openstreetmap/openstreetmap-website/pull/5573 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250129/377ad79d/attachment-0001.htm>


More information about the rails-dev mailing list