Opened 7 years ago

Closed 7 years ago

#4524 closed defect (fixed)

Zoom slider displaying incorrect zoom level after clicking on a permant link to the map

Reported by: rickmastfan67 Owned by: rails-dev@…
Priority: minor Milestone:
Component: website Version:
Keywords: Cc:

Description

This is happening in both IE-9 and FF15b4 for me.

Steps to reproduce:

  1. Click on this link: http://www.openstreetmap.org/?lat=36.5262&lon=-88.8314&zoom=13&layers=M
  2. Notice the zoom bar is set at z18, when you're loading a link for z13.
  3. Zoom in or out with your mouse or the "+/-" buttons on the zoom slider and then watch it jump to the correct zoom level.

Change History (2)

comment:1 Changed 7 years ago by Tom Hughes

The problem here is that tmcw's new zoom control does a redraw on the changebaselayer event, and that recreates the zoom control, losing the position. The traditional zoom control doesn't do this redraw.

The same thing happens when you switch layers, for the same reason.

comment:2 Changed 7 years ago by Tom Hughes

Resolution: fixed
Status: newclosed

Fixed - the fix should deploy shortly.

Note: See TracTickets for help on using tickets.