<div>Dear all,</div>
<div> </div>
<div>I need assistance in using the events of DrawFeature and ModifyFeature. Can anyone provide some examples? I use the DrawFeature and ModifyFeature as following but need guidance on how to use the events of DrawFeature (featureadded) and ModifyFeatures (featuremodified). Basically I like to use the feature.geometry.getGeodesicArea() function to calculate area dynamically when an user draws a polygon or when he modifies the polygon.</div>
<div> </div>
<div>controls = {<br> dpolygon: new OpenLayers.Control.DrawFeature(aoi,<br> OpenLayers.Handler.Polygon, drawOptions),<br> modify: new OpenLayers.Control.ModifyFeature(aoi,<br>
modifyOptions),<br> selectVector: new OpenLayers.Control.SelectFeature(aoi, wktOptions)</div>
<div>}</div>
<div> </div>
<div>Thank you in advance.</div>
<div> </div>
<div>Albert</div>