>> /setVisibility - is not a property, this is function./

I used to think the same. And OL documentation claims the same. 
And I have successfully used /setVisibility(true/false)/ many times, in my
applications.
There was no problem and I couldn't even imagine any problem with it.

However, the problem appeared! (on OL-2.11-rc1 and only for
OpenLayers.Layer.Vector)
The execution stops and debugger clearly says: "setVisibility is not a
function"

I was really shocked!

Can anybody give an explanation?

--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/OpenLayers-Layer-Vector-setVisibility-true-false-tp6715514p6716933.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