On my map I have two graphics layers (one for queried polygons and one for Identify Results) and a ArcGISDynamicMapServiceLayer (for parcels).
My problem is that the parcel layer appears on top of the IdentifyResults layer, which I would rather be on top. I tried to move it on top with the following:
clickGraphicsLayer.moveToTop(clickGraphic);
clickGraphic.symbol = new InfoSymbol(); // use default renderer
clickGraphic.attributes = resultGraphic.attributes;
clickGraphicsLayer.moveToTop(clickGraphic);
but, alas, it seems to have no effect --- the parcels still appear on top of the resultsGarphic.
Is there a way to make this specific layer appear on top of all the others?