Hi all,<div>I defined a wfs layer and added it on an existing OpenLayers.Map.</div><div><br></div><div>map.addLayer(wfslayer);</div><div><br></div><div>But when I try to access the layer and call a function, I get a &#39;cannot read property of undefined&#39; error.</div>
<div><br></div><div>map.wfslayer.display();</div><div><br></div><div>Is this the proper way to access layer and call its properties/functions ?</div><div><br></div><div><br></div><div>Regards,</div><div>Allan.</div>