Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search result not visible #33

Closed
rkversion opened this issue Oct 21, 2020 · 1 comment
Closed

Search result not visible #33

rkversion opened this issue Oct 21, 2020 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@rkversion
Copy link
Member

Search for "Albert Neuhuysstraat" in Amsterdam: after clicking on the relevant result link the
landing page includes the searched-for street, but the view is zoomed out too much so that
the street name is not visible, and it is impossible to find it, unless one knows the area well.

Landing page for the result should be at zoom level sufficient to easily see what was searched for.

@rkversion rkversion added the bug Something isn't working label Oct 21, 2020
@embeepea
Copy link
Member

I think this is resolved now; see #37.

The initial implementation of the search box had the results zoom level hardcoded at 13.5. The PR above chooses a zoom level based on the bounding box of the search results returned from nominatim.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants