AnsweredAssumed Answered

reorder webmap layers with Python?

Question asked by dcafdg on Apr 7, 2020
Latest reply on Apr 13, 2020 by dcafdg

I'd like to re-order webmap layers with Python. I'm using the arcgis package (the ArcGIS API for Python) to add a layer, but the newest layer just goes to the top of the layer list (table of content), which may not be where I want it. How do I re-order it after I add it? 


I'd also be interested to know if the WebMap.add_layer() function can just put the layer in the right order in the first place.