[openstreetmap/openstreetmap-website] Suspend the layer event handlers when rendering Map Data (PR #5474)

Anton Khorev notifications at github.com
Mon Jan 6 14:34:41 UTC 2025


> For example, the currently selected object on the map. It is not clear how to separate changes to Map Data objects and changes to the selected element. It is necessary to track changes in the active element, otherwise at least the Edit button will break.

`addObject`/`removeObject` in `leaflet.map.js` could fire some event for active object change. The listener that calls `updateLinks` could listen to that event.

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

Message ID: <openstreetmap/openstreetmap-website/pull/5474/c2573238177 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250106/244389ec/attachment.htm>


More information about the rails-dev mailing list