Opened 9 years ago

Closed 9 years ago

#1547 closed defect (fixed)

Search results zoom level doesn't allow further zooming

Reported by: kyle@… Owned by: grand.edgemaster@…
Priority: major Milestone:
Component: website Version:
Keywords: Cc:

Description

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

Change History (3)

comment:1 Changed 9 years ago by grand.edgemaster@…

  • Component changed from mapnik to website
  • Owner changed from steve8@… to grand.edgemaster@…
  • Status changed from new to assigned

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

comment:2 Changed 9 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 9 years ago by edgemaster

  • Resolution set to fixed
  • Status changed from assigned to closed

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

Note: See TracTickets for help on using tickets.