[openstreetmap/openstreetmap-website] Remove controls sprite (PR #5752)

Anton Khorev notifications at github.com
Thu Mar 6 08:17:28 UTC 2025


AntonKhorev left a comment (openstreetmap/openstreetmap-website#5752)

The sprite existed mainly because of Leaflet controls. They are created with javascript. You'll start putting more stuff in javascript to avoid using the sprite, and then @gravitystorm will tell you this: #5616.

My plan was to put Leaflet control icons into map layout and refer to them with `<use>` from javascript.

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

Message ID: <openstreetmap/openstreetmap-website/pull/5752/c2703122985 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250306/abba26c9/attachment.htm>


More information about the rails-dev mailing list