[OpenLayers-Trac] [OpenLayers] #516: layerSwitcher does not get updated when map.setBaseLayer is used

OpenLayers trac at openlayers.org
Tue Mar 6 07:22:48 EST 2007


#516: layerSwitcher does not get updated when map.setBaseLayer is used
-----------------------------------+----------------------------------------
 Reporter:  bwoodall               |       Owner:  euzuro
     Type:  bug                    |      Status:  new   
 Priority:  minor                  |   Milestone:        
Component:  Control.LayerSwitcher  |     Version:        
 Keywords:                         |  
-----------------------------------+----------------------------------------
 While debugging another ticket I came across this.
 When you put the command map.setBaseLayer in your page
 then the layerSwitcher does not get updated to the new
 baselayer and shows the previous one.

 Included is a example page

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


More information about the Trac mailing list