<div>draw = new OpenLayers.Control.DrawFeature( wfs, OpenLayers.Handler.Polygon,{ title: "Draw Feature", "displayClass: "olControlDrawFeaturePolygon",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 "draw". 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>