[openstreetmap/openstreetmap-website] Add mouseover for node lists (Issue #4183)
Axel Karjalainen
notifications at github.com
Sat Mar 16 11:36:33 UTC 2024
I've never contributed to the OSM website codebase so I don't know how to get a dev server or the best way to pass structured data from `.erb` to JavaScript. For a simple but very inefficient solution I could just traverse the DOM for IDs and call `map.addObject` to get the data by AJAX on every hover.
@gravitystorm
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/4183#issuecomment-2001958362
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/issues/4183/2001958362 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240316/bb7c572c/attachment.htm>
More information about the rails-dev
mailing list