draw = new OpenLayers.Control.DrawFeature( wfs, OpenLayers.Handler.Polygon,{
title: "Draw Feature", "displayClass: "olControlDrawFeaturePolygon",multi:
true } );
wfs is my current layer.I had a function addLayer which add a new layer called new_layer. How to change the layer of control "draw". I looked at OL documentation and cannot find any function to set layers. Can we change the layer which control points to by any method.? Any help will be greatly appreciated. Thanks in advance -- Rashad
_______________________________________________ Dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-dev
