[OpenLayers-Users] LayerSwitcher and overlays

Pedrazzi Gelsomini pedrazzi.gelsomini at gmail.com
Fri Jun 1 09:35:30 EDT 2007


Found it!
I had to change the
    this.div.style.top = "50px"; //"10px";
in the
  loadContents: function()
of the file LayerSwitcher.js.

Bye.
FP


2007/6/1, Pedrazzi Gelsomini <pedrazzi.gelsomini at gmail.com>:
>
> That's right!!
> Thanks so much for your quick reply!
> Do you know if there is the possibility to change the position of the
> LayerSwitcher and move it down?
>
> Have a good day.
> Cheers.
> FP
>
> 2007/6/1, Christian López Espínola <penyaskito at gmail.com>:
> >
> > On 6/1/07, Gregor Mosheh <gregor at hostgis.com> wrote:
> > > Francesca Pedrazzi wrote:
> > > > In the LayerSwitcher the overlays are checked by default but i would
> > > > like to have only one of these checked and the other two unchecked:
> > if
> > > > the user will be interested in these information he will check them.
> > >
> > > Is this what the 'visibility' flag does for a layer, as in
> > > 'visibility':false in the Layer constructor?
> >
> > Yes, it is :)
> >
> >
> > > --
> > > Gregor Mosheh / Greg Allensworth
> > > System Administrator, HostGIS cartographic development & hosting
> > services
> > > http://www.HostGIS.com/
> > >
> > > "Remember that no one cares if you can back up,
> > >   only if you can restore." - AMANDA
> > > _______________________________________________
> > > Users mailing list
> > > Users at openlayers.org
> > > http://openlayers.org/mailman/listinfo/users
> > >
> >
> >
> > --
> > Regards,
> >
> > Christian López Espínola
> >
>
>
>
> --
> Ilaria Gelsomini
> Francesca Pedrazzi




-- 
Ilaria Gelsomini
Francesca Pedrazzi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20070601/cfc5aa51/attachment.html


More information about the Users mailing list