searching by coordinates is a common use case. currently when hovering on a 
link in the list of matches, it displays a temporary marker on the map. 
additionally, clicking on a match causes the map to be centered at the marker 
(panning without zooming). 

however, the marker is removed as soon as the mouse cursor moves and link 
hovering is off. unfortunately, this behaviour obfuscates zooming in on a 
match, requiring the user to go back and forth the map and list of results, 
hovering over the link to display the temporary marker again.

show a permanent marker when clicking on a result of searching by coordinates 
would make zooming in more intuitive; it could be removed when search results 
are closed. please note this feature request is _not_ about changing the zoom 
level automatically.

here's a video demonstration:
![Gravando2025-01-13223022-ezgif com-video-to-gif-converter 
(2)](https://github.com/user-attachments/assets/da3e36e8-3f45-4fd8-9621-5ae503e8f00c)

and a screenshot:
https://www.openstreetmap.org/search?query=-29.7240675%2C-51.0282959#map=8/-29.726/-51.026
![image](https://github.com/user-attachments/assets/df10d059-b65b-45f5-a80a-44dda0af0645)

the current behavior confuses users, as indicated by numerous related reports:
* #5028
* #2798
* #3827
* #3980
* #4160
* #2366
* #2197

a workaround is to enter the coordinates in the URL, instead of the search 
field:
https://github.com/openstreetmap/openstreetmap-website/issues/2197#issuecomment-830758106

see also:
* https://github.com/openstreetmap/iD/issues/7435 

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

Message ID: 
<openstreetmap/openstreetmap-website/issues/872/2588598...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev

Reply via email to