[OpenLayers-Trac] Re: [OpenLayers] #2834: Panel control: Allow to use "autoActivate" in the panel's controls.

OpenLayers trac-20090302 at openlayers.org
Tue Sep 21 02:48:02 EDT 2010


#2834: Panel control: Allow to use "autoActivate" in the panel's controls.
---------------------------+------------------------------------------------
 Reporter:  jorix          |       Owner:                 
     Type:  feature        |      Status:  new            
 Priority:  minor          |   Milestone:  2.11 Release   
Component:  Control.Panel  |     Version:  2.10           
 Keywords:                 |       State:  Needs More Work
---------------------------+------------------------------------------------

Comment(by ahocevar):

 In addition to the above, you will have to take care of TOOL controls. The
 best way to do this would be to make better use of the activate and
 deactivate events of the controls in the panel. This would save you a lot
 of logic that is currently spread across redraw, addControlsToMap and
 activateControl.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/2834#comment:6>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list