[OpenLayers-Users] Set a layer visibility with a javascript function

Robert Hicks robhyx at gmail.com
Mon Mar 22 14:13:53 EDT 2010


Hey all, is there a stored procedure in OpenLayers that lets you turn on and
off a layer (just like you can in the Layer Switcher) that can be called? I
saw OpenLayers.Layer.display(); which didn't seem to do anything and I was
wondering if that is the right function I should be calling.

Thanks!

-- 
web http://www.hyxspace.com
aim hyx1138
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20100322/4619497e/attachment.html


More information about the Users mailing list