setVisibility - is not a property, this is function. Example of using this
function: map.layers[1].setVisibility(false).

-----
Denis Rykov
NextGIS
http://www.nextgis.org/
--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/OpenLayers-Layer-Vector-setVisibility-true-false-tp6715514p6716761.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to