On Thu, Jan 29, 2009 at 9:00 PM, Alexandre Dube <[email protected]> wrote:
> Hi list,
>
>  Is there a difference between layer.setVisibility(false) and the
> {visibility:false} option directly specified in the layer ?  Is one a
> better practice than the other ?

You'll use setVisibility if you need to change the visibility after
the layer creation, when some button is clicked for example.

--
Eric
_______________________________________________
Users mailing list
[email protected]
http://openlayers.org/mailman/listinfo/users

Reply via email to