It works!! :)

Thanks
W

Slawomir Messner ha scritto:
 Hi,
I think you have to call maximizeControl after you create it. It's minimized in the draw function so it's minimized at the beginning.
var c = new OpenLayers.Control.LayerSwitcher({});
map.addControl(c);
c.maximizeControl();
Regards,
Slawomir

Am 14.09.2010 14:12, schrieb Walter Lorenzetti:
Hi all,

a simple question...

is possible to set up the Control LayerSwitcher open at start OL?

Thanks in advance
W


_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users


--

Walter Lorenzetti
email: [email protected]
skype: aiki74
Cell: (+39) 347-6597931  Tel+Fax: (+39) 0588 85021
Viale Giuseppe Verdi n. 24, 51016
Montecatini Terme,Pistoia
P.IVA 01686280478
Italy


_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to