When the child controls of Panel control be activated or inactivated, the
Panel control will always re-draw the child controls, and do not call the
child controls's draw method to generate the DOM element of the control.

So we can not add some controls with complex UI to the Panel control, such
as MapTypeControl.

See the ticket #2421 <http://trac.openlayers.org/ticket/2421>

Li XinGang
EMail: [email protected]
Blog:   avlee.cnblogs.com
Site:    www.mapboost.org
_______________________________________________
Dev mailing list
[email protected]
http://openlayers.org/mailman/listinfo/dev

Reply via email to