[openstreetmap/openstreetmap-website] Restrict marker scaling to search results (PR #6270)

Marwin Hochfelsner notifications at github.com
Thu Jul 31 09:39:15 UTC 2025


It doesn't really make sense to have every marker scale in response to being hovered over. This PR restricts this behaviour only to the search markers.
You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/6270

-- Commit Summary --

  * Forward additional L.icon options from OSM.getMarker
  * Restrict marker scaling to search results

-- File Changes --

    M app/assets/javascripts/index/search.js (2)
    M app/assets/javascripts/leaflet.map.js (3)
    M app/assets/stylesheets/common.scss (2)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/6270.patch
https://github.com/openstreetmap/openstreetmap-website/pull/6270.diff

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

Message ID: <openstreetmap/openstreetmap-website/pull/6270 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250731/4feda775/attachment.htm>


More information about the rails-dev mailing list