I would like to compare the areas of the features returned from the 'identify' task before I add them to the list. I will create some code to sort the results in order of area, but the problem I have is that for display purposes I have hidded the 'area' field.
Is there a function out there that can do an area calculation based on the returned geometry (polygon)? using the rings maybe?.....
I am taking my results from the Identify and feeding them into the GeometryService AreasAndLengths method, but I think I am about to abort for a few reasons.
1. the service takes too long to return and 2. I don't think I'll be able to reattach the areas to the proper polygon with certainty
have you seen a way to attach the results of the AreaAndLengths back onto the features (IList<Graphic>) being passed in? or add to an area property in the DataItem class show in the Identify example?