[openstreetmap/openstreetmap-website] Fixed displacing points specified from context menu (PR #4904)
Anton Khorev
notifications at github.com
Sat Jul 6 10:45:40 UTC 2024
[Going to Nominatim with coordinates](https://github.com/openstreetmap/openstreetmap-website/pull/4904#issuecomment-2186609047) still happens. Try entering "0,0" into from/to inputs.
Before the changes the code always went to Nominatim and searched for these numbers, found them somewhere in Taiwan (or elsewhere depending on the current map view) and placed the marker there.
After the changes the same happens except the marker is at 0, 0.
We should
- either decide that we're not searching for input values when they match the coordinate format,
- or never populate inputs with coordinates (and maybe populate them with reverse geocoding results).
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4904#issuecomment-2211735073
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/4904/c2211735073 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240706/f8f70f42/attachment.htm>
More information about the rails-dev
mailing list