[OpenLayers-Trac] [OpenLayers] #3348: Map history buttons work incorrectly after switching base layers

OpenLayers trac-20090302 at openlayers.org
Tue Jun 7 06:27:51 EDT 2011


#3348: Map history buttons work incorrectly after switching base layers
----------------------------------------------------------+-----------------
 Reporter:  paweluz                                       |       Owner:  tschuab 
     Type:  bug                                           |      Status:  new     
 Priority:  major                                         |   Milestone:          
Component:  Control.NavigationHistory                     |     Version:  2.10 RC1
 Keywords:  history, map, baselayer, base, layer, switch  |       State:          
----------------------------------------------------------+-----------------
 I have a map history buttons, and layer switcher with e.g. 2 base layers
 in my application. I start the application. I do one pan on the map. Then
 I click on Previous button. Now I switch to second base layer and the go
 back to my starting base layer. I can click now two times on the Previous
 button but non of that clicks is causing changing the bounds on the map
 (my first pan on the map is not included in the map history!) I think that
 this is a bug...

 I attached the html file, just put it to example directory and start.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/3348>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list