<div>draw = new OpenLayers.Control.DrawFeature( wfs, OpenLayers.Handler.Polygon,{ title: &quot;Draw Feature&quot;, &quot;displayClass: &quot;olControlDrawFeaturePolygon&quot;,multi: true } );</div><div>wfs is my current layer.</div>
<div><br></div><div>I had a function addLayer which add a new layer called new_layer.</div><div><br></div><div>How to change the layer of control &quot;draw&quot;. I looked at OL documentation and cannot find any function to set layers.</div>
<div><br></div><div>Can we change the layer which control points to by any method.?</div><div><br></div><div>Any help will be greatly appreciated.</div><div><br></div><div>Thanks in advance</div><br>-- <br>Rashad<br>