[openstreetmap/openstreetmap-website] don't set map coords if mapParams contains object, but no "map" in hash (PR #5698)

Martin Raifer notifications at github.com
Mon Feb 17 19:24:02 UTC 2025


tyrasd left a comment (openstreetmap/openstreetmap-website#5698)

> idData already has the coordinates

This one is also a bit confusing. Normally, `idData.lat/.lon` are not present. If I see this correctly, `idData.lat/.lon` are only set when the editor is loaded using a `…?note=xxx` link, see 6494747882358cc1506ae442c89eed3db1de94a4. This is AFAICT not necessary anymore because notes are by now also using the `mapParams.object` path. But let's handle that in another PR, shall we?

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

Message ID: <openstreetmap/openstreetmap-website/pull/5698/c2663929836 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250217/b0bc8de2/attachment.htm>


More information about the rails-dev mailing list