[OpenLayers-Users] OpenLayers.Layer.Vector.setVisibility(true/false)

sasamil sasha.milenkovic at gmail.com
Tue Aug 23 06:07:29 EDT 2011


I use OpenLayers-2.11-rc1. A problem appeared with setVisibility() function
but only inside OpenLayers.Layer.Vector class. It doesn't work there. I am
getting the information: setVisibility is not a function?!

Why is it so? And, what can I do, now?

If I just change the setVisibility property in a way:
my_vector_layer.setVisibility = false;

... the layer will still be visible?!

Could somebody help?

Regards!

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/OpenLayers-Layer-Vector-setVisibility-true-false-tp6715514p6715514.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.


More information about the Users mailing list