1ec5 left a comment (openstreetmap/openstreetmap-website#3221)

This is sort of a feature, since the `map` hash parameter gets appended 
automatically and may not be part of what you wanted to share. But in this 
case, it was something you wanted to share. There’s no distinction 
unfortunately.

Incidentally, I was thinking you could work around this issue by using the 
older URL query parameters, e.g., 
`https://www.openstreetmap.org/search?query=pine river%2C 
ontario&zoom=6&lat=46.198&lon=-80.652`. That does maintain the intended 
viewport but drops the query!

<img width="350" height="226" alt="46.198, -80.652" 
src="https://github.com/user-attachments/assets/669caeea-6dd4-4f0d-ac99-47f46ec0a316";
 />

I think that’s happening is that the `lat` and `lon` parameters are being 
interpreted as the query itself, for when you want to do reverse geocoding.

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

Message ID: 
<openstreetmap/openstreetmap-website/issues/3221/[email protected]>
_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to