[OpenLayers-Users] LayerSwitcher and overlays

Gregor Mosheh gregor at hostgis.com
Fri Jun 1 08:47:56 EDT 2007


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?


-- 
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



More information about the Users mailing list