[openstreetmap/openstreetmap-website] Map Data checkbox: perhaps use toggle slider instead (PR #5009)
David Tsiklauri
notifications at github.com
Thu Mar 20 08:30:46 UTC 2025
nertc left a comment (openstreetmap/openstreetmap-website#5009)
For `CPU slowdown` I use browser built-in functionality.
Difference between getting data from server and rendering them is that while getting data, there are no CPU intense tasks and loading icon is shown next to the `data layer` checkbox. When rendering is started, it uses CPU to render data and may freeze application or browser.
In the video you can see when rendering data can take long time (full video can't be uploaded because of the limitations of GitHub, in reality it took about 30 seconds to render all elements). In such case, there would be 30 seconds freeze of browser if there was synchronous process.
https://github.com/user-attachments/assets/266a42bc-f150-42e0-ae69-709781c7bda0
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5009#issuecomment-2739570579
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5009/c2739570579 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250320/76f6068c/attachment.htm>
More information about the rails-dev
mailing list