[OpenLayers-Users] Customizing the layer switcher

Alex zeitalex at googlemail.com
Thu Dec 1 04:02:56 EST 2011


var ls = new OpenLayers.Control.LayerSwitcher();
map.addControl(ls);
ls.maximizeControl();



2011/12/1 Alex <zeitalex at googlemail.com>

> var ls = new OpenLayers.Control.LayerSwitcher();
> map.addControl(ls);
> ls.maximizeControl();
>
>
> 2011/12/1 Aditya Kumar <paglacontact at yahoo.com>
>
>> Dear Users,
>>  Every time we see a plus symbol where if we click we get the layer
>> switcher.How can we make the layer switcher always active on map? i.e when
>> the map gets open automatically the layerswitcher should come with the
>> layers.
>>
>> Thanks in advance!
>>
>> Aditya Kumar
>>
>> --
>> View this message in context:
>> http://osgeo-org.1803224.n2.nabble.com/Customizing-the-layer-switcher-tp7049701p7049701.html
>> Sent from the OpenLayers Users mailing list archive at Nabble.com.
>> _______________________________________________
>> Users mailing list
>> Users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20111201/fd076e04/attachment.html


More information about the Users mailing list