[openstreetmap/openstreetmap-website] Transition more requests to fetch (PR #5669)

Marwin Hochfelsner notifications at github.com
Thu Feb 13 20:21:29 UTC 2025


@hlfan commented on this pull request.



>  
-      noteLoader = null;
+          for (var id in oldNotes) {
+            noteLayer.removeLayer(oldNotes[id]);
+          }
+        })
+        .catch(() => {})

Didn't have them there until I tested frantic map movement and AboetErrors started to appear in the console. And this empty function still catches those.

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

Message ID: <openstreetmap/openstreetmap-website/pull/5669/review/2616136147 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250213/7c1d40dc/attachment-0001.htm>


More information about the rails-dev mailing list