[openstreetmap/openstreetmap-website] Change colors of changeset bboxes when they enter/exit the viewport (PR #5924)

Anton Khorev notifications at github.com
Sun Apr 13 15:54:23 UTC 2025


@AntonKhorev commented on this pull request.



> @@ -1,15 +1,40 @@
 OSM.HistoryChangesetsLayer = L.FeatureGroup.extend({
-  _changesets: [],
+  newerColor: "#AA8866",
+  olderColor: "#8888AA",

Includes workaround for https://github.com/leaflet/leaflet/issues/2662

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

Message ID: <openstreetmap/openstreetmap-website/pull/5924/review/2762786955 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250413/92cb3c52/attachment-0001.htm>


More information about the rails-dev mailing list