[OpenLayers-Users] Set visibility of WMS layer
Paul Meems
bontepaarden at gmail.com
Tue Jan 8 04:26:57 PST 2013
Hi list,
I'm working on my web application again and I have a map with a base map
and two overlays.
One of the overlays I want to turn of by default.
I set visibility: false when creating the WMS layer.
This results in the layer being shown in the layer switcher but turned off.
Exactly what I want. But I can't turn it on anymore. It seems to be
disabled.
How can I not load the layer but keep it enabled in the layer switcher?
Thanks,
Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20130108/0abfdcc1/attachment.html>
More information about the Users
mailing list