AnsweredAssumed Answered

Reorder Graphics Layers Between Other Layers

Question asked by Noodles484 on Mar 24, 2016
Latest reply on Mar 24, 2016 by rscheitlin


    I have a simple map.  It includes the ocean basemap (and ocean label reference layer automatically), then I add an ArcGISTiledMapServiceLayer that is hosted on my ArcGIS for Server.  When the user presses a button, it runs a geoprocessing service (also on my ArcGIS for Server).   I add the returned features to a featureset, which is added to a featureCollection and used to create a new featureLayer.  This featureLayer is given a renderer and added to the map.  It works fine, however it seems to add this featureLayer to the graphics layer of the map.  Since graphics layers are always on top, I cant order the layers how I want.  Basically, I need the layers to be (from bottom to top); ocean basemap, geoprocessing result, ArcGISTiledMapServiceLayer, and ocean labels.  Is there a way to do this?   It looks like I might be able to in the beta, but am using version 3.16.