[openstreetmap/openstreetmap-website] Add mouseover for node lists (Issue #4183)

Minh Nguyễn notifications at github.com
Thu Feb 12 16:59:02 UTC 2026


1ec5 left a comment (openstreetmap/openstreetmap-website#4183)

>  There's a problem. "Query nodes" gets the list by AJAX and in JSON, while the way route gets its node list server-rendered in HTML. Also, the way route (https://www.openstreetmap.org/way/*) doesn't have its own JavaScript file.

We probably can’t reuse the code for highlighting query results on the map, but the more relevant code is for highlighting the geometry of the element that the element page is about. We could reuse this code for highlighting individual members of the element. We’d need to somehow associate the list item with the portion of the overall element data at runtime. Maybe we can use the index of the list item to index into the list of coordinates that we used to render the way?

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

Message ID: <openstreetmap/openstreetmap-website/issues/4183/3892136314 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20260212/96416ff0/attachment.htm>


More information about the rails-dev mailing list