[OpenLayers-Users] Layer switcher out of Map

Christian López Espínola penyaskito at gmail.com
Wed Oct 3 06:11:58 EDT 2007


Hi Prasad,

You can do it if you build the control like this:
new OpenLayers.Control.LayerSwitcher({'div':document.getElementById('my')})

Having a div with id = 'my' in your html.

Hope this helps.

On 10/3/07, Prasad Choudhary <prasad.choudhary at gmail.com> wrote:
>
> sorry for partial info,
>  the site is http://www.ongmap.com
>
> Thanks
> Prasad
>
>
> Prasad Choudhary wrote:
> >
> > Hello All,
> >
> >
> > I saw a Mash up site build on google map, ongmap which uses Ext.js as
> > well, but i was not able to understand  how to take Layer Switcher out of
> > map??
> > like Google,yahoo map, anyone tried stuff like this.
> >
> > Thanks
> > Prasad.
> >
>
> --
> View this message in context: http://www.nabble.com/Layer-switcher-out-of-Map-tf4560604.html#a13015234
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>


-- 
Regards,

Christian López Espínola


More information about the Users mailing list