[OpenStreetMap] #4524: Zoom slider displaying incorrect zoom level after clicking on a permant link to the map

OpenStreetMap trac at openstreetmap.org
Wed Aug 15 10:15:11 BST 2012


#4524: Zoom slider displaying incorrect zoom level after clicking on a permant
link to the map
---------------------------+------------------------------------------------
 Reporter:  rickmastfan67  |       Owner:  rails-dev@…                
     Type:  defect         |      Status:  new                        
 Priority:  minor          |   Milestone:                             
Component:  website        |     Version:                             
 Keywords:                 |  
---------------------------+------------------------------------------------

Comment(by TomH):

 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.

-- 
Ticket URL: <https://trac.openstreetmap.org/ticket/4524#comment:1>
OpenStreetMap <http://www.openstreetmap.org/>
OpenStreetMap is a free editable map of the whole world



More information about the rails-dev mailing list