[openstreetmap/openstreetmap-website] Reevaluate iteration methods (PR #5604)
Marwin Hochfelsner
notifications at github.com
Tue Feb 4 16:23:42 UTC 2025
@hlfan commented on this pull request.
> + layers
+ .filter(other => other !== layer)
+ .forEach(map.removeLayer);
Always in the places where you least expect it...
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5604#discussion_r1941499787
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5604/review/2593405863 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250204/a186b96c/attachment.htm>
More information about the rails-dev
mailing list