Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Search results zoom level doesn't allow further zooming #1547

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 3 comments
Closed

Search results zoom level doesn't allow further zooming #1547

openstreetmap-trac opened this issue Jul 23, 2021 · 3 comments

Comments

@openstreetmap-trac
Copy link

Reporter: kyle[at]lodge.glasgownet.com
[Submitted to the original trac issue database at 9.13am, Saturday, 31st January 2009]

When I search for "Riz Raz, Copenhagen", I get a result at z16 - which has no detail about restaraunts. However, the scale doesn't allow me to zoom in, and neither does the + symbol on the scale. I can, however, zoom out to z15, and then back to z17 or z18, at which point restaraunt detail becomes available.

This behaviour is not apparent when searching for (and finding) "The Lovat Arms, Glasgow" - with this search result you are able to zoom all the way up to z18 without any problems.

Kyle

@openstreetmap-trac
Copy link
Author

Author: grand.edgemaster[at]gmail.com
[Added to the original trac issue at 12.47pm, Saturday, 31st January 2009]

This is either an OpenLayers bug or our use of it, I am researching where the bug should be tackled.

@openstreetmap-trac
Copy link
Author

Author: crschmidt[at]crschmidt.net
[Added to the original trac issue at 1.07pm, Saturday, 31st January 2009]

Arguably, both. However, the OL docs do say '* zoom - {Integer}', and zoom is being passed as a string. "16" + 1 -> 161, which is greater than the maxZoom.

@openstreetmap-trac
Copy link
Author

Author: edgemaster
[Added to the original trac issue at 1.10pm, Saturday, 31st January 2009]

(In [13453]) Pass zoom to map.setCenter as an integer (Closes #1547)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant