[openstreetmap/openstreetmap-website] Remove ids collected in parallel to model instances in map api (PR #5585)
Anton Khorev
notifications at github.com
Sat Feb 1 17:27:25 UTC 2025
Another instance of `visible_nodes` like in #5584, but this time it's being read. However it's largely useless because nodes are already collected into `@nodes`. Same for `way_ids`.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/5585
-- Commit Summary --
* Remove ids collected in parallel to model instances in map api
* Use filter instead of loop in visible node/way collections
-- File Changes --
M app/controllers/api/maps_controller.rb (22)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/5585.patch
https://github.com/openstreetmap/openstreetmap-website/pull/5585.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5585
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5585 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250201/f6d95cde/attachment.htm>
More information about the rails-dev
mailing list