Robert,
Thanks for the response.
Here is what i have in a testing environment, but it seems that im not getting the geometry test to come back true.
private function onQueryExecuteComplete(event:QueryEvent):void
{
var oneGraphic:Graphic = event.target as Graphic;
var fset:FeatureSet = event.featureSet;
for each (var graphic:Graphic in fset.features)
{
for each(var graLyrGraphic:Graphic in myGraphicsLayer.graphicProvider)
{
myInfo.text = "started loop";
if (graLyrGraphic.geometry == graphic.geometry)
{
myInfo.text = "found similar geometry";
//THIS IS WHERE I WOULD REMOVE THE GRAPHIC
return;
}
}
graphic.symbol = new SimpleFillSymbol('solid',0xcc0000,.7)
myGraphicsLayer.add(graphic);
dist1PopTotal+=graphic.attributes.POPULATION;
}
return;
}