[openstreetmap/openstreetmap-website] Search and clicking on GPS coordinates does not zoom in (#2197)
notifications at github.com
Tue Apr 2 10:05:14 UTC 2019
Actually it does zoom, it's just that the zoom level for a lat+lon result is set to the zoom level of the map when you did the search. If you have moved or zoomed the map at all then clicking on the map will go back to the original zoom.
An address is different because an address is attached to an object, which has a size, so we can zoom in to that object.
For a lat/lon we have no idea how close in, or far out, you might want to be as a simple position doesn't given any indication of the size of the area you are interested in. The best we could probably do is hardcode it to some sort of mid level as we currently do for some post code results.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rails-dev