[openstreetmap/openstreetmap-website] New note page on low zooms (PR #5443)

Anton Khorev notifications at github.com
Tue Dec 31 22:59:40 UTC 2024


@AntonKhorev commented on this pull request.



> -
-      halo = L.circleMarker(loc, {
-        weight: 2.5,
-        radius: 20,
-        fillOpacity: 0.5,
-        color: "#FF6200"
-      });
+  function addHalo(latlng) {
+    if (halo) map.removeLayer(halo);
+    halo = L.circleMarker(latlng, {
+      weight: 2.5,
+      radius: 20,
+      fillOpacity: 0.5,
+      color: "#FF6200"
+    });
+    map.addLayer(halo);

restored whitespace

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

Message ID: <openstreetmap/openstreetmap-website/pull/5443/review/2526730445 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20241231/464faa8a/attachment-0001.htm>


More information about the rails-dev mailing list