After querying feature layer I receive FeatureSet. I can get each graphic in FeatureSet. The problem is I can not get symbol of the graphics. It seems to be null. The piece of code is:private function queryS():void {
queryTaskMain.execute(queryMain, new AsyncResponder(onResult, onFault));
function onResult(featureSet:FeatureSet, token:Object = null):void {
for each(var graphic : Graphic in featureSet.features) {
symbs.push(graphic.symbol);
}
}
}
I receive nulls in Array. Is this a correct way to get feature's symbols?