[OpenLayers-Users] setVisibility VS visibility:false

Christopher Schmidt crschmidt at metacarta.com
Fri Jan 30 07:13:27 EST 2009


On Fri, Jan 30, 2009 at 06:45:24AM +0100, Eric Lemoine wrote:
> Hi
> 
> It does make any difference at creation time as far as I know. I
> personally find it more elegant to pass the initial visibility as a
> config option.

Having perused the code, I don't see any evidence that passing it in the
options has any different behavior than calling setVisibility after
creating the layer.

-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list