Opened 11 years ago

Closed 11 years ago

#1547 closed defect (fixed)

Search results zoom level doesn't allow further zooming

Reported by: kyle@… Owned by: Thomas Wood
Priority: major Milestone:
Component: website Version:
Keywords: Cc:


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.


Change History (3)

comment:1 Changed 11 years ago by Thomas Wood

Component: mapnikwebsite
Owner: changed from steve8@… to Thomas Wood
Status: newassigned

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

comment:2 Changed 11 years ago by crschmidt@…

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.

comment:3 Changed 11 years ago by edgemaster

Resolution: fixed
Status: assignedclosed

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

Note: See TracTickets for help on using tickets.