AnsweredAssumed Answered

Keep GraphicsLayer as topmost layer?

Question asked by runtime on Oct 16, 2014
Latest reply on Oct 20, 2014 by mnielsen-esristaff


I've searched all API docs and can't find a method to keep my GraphicsLayer as my topmost layer:


If I add the layers in the following order, everything is ok, because graphicsLayer was added at last, it is the topmost layer...:

1) Add basemap

2) Add gdb (geodatabase) (green polygons)

3) Add graphicsLayer




But If I add them in the following order:

1) Add basemap

2) Add graphicsLayer

3) Add gdb (geodatabase) (green polygons)


My graphicsLayer sits behind the featureLayers in the geodatabase, how do I move my graphicsLayer on top of all layers again?




Please advice

Thank you in advance