Currently data layer loading is only aborted when a new request starts. It's possible to enable data layer, start a long load, disable data layer, and then after a while receive a warning about too much data despite the layer is already disabled. You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/5575 -- Commit Summary -- * Abort loading when data layer is removed -- File Changes -- M app/assets/javascripts/index/layers/data.js (8) -- Patch Links -- https://github.com/openstreetmap/openstreetmap-website/pull/5575.patch https://github.com/openstreetmap/openstreetmap-website/pull/5575.diff -- Reply to this email directly or view it on GitHub: https://github.com/openstreetmap/openstreetmap-website/pull/5575 You are receiving this because you are subscribed to this thread. Message ID: <openstreetmap/openstreetmap-website/pull/5...@github.com>
_______________________________________________ rails-dev mailing list rails-dev@openstreetmap.org https://lists.openstreetmap.org/listinfo/rails-dev