Manage Webmap layer order and layer visible through arcgis python API

06-05-2019 12:47 PM
New Contributor III

Hey Guys, currently we're getting a new drone scan every other weeks, and I'm try to automatic the process of adding and the scan to multiple webmaps. 

But I can't seems to find a way to let the script automatic turn off the previous layer as I adding the new layer. 

I know you can manage the new added layer's visibility through setting : 'visibility':False in the "add_layer". But I can't find a way to turn off other layers, and arrange the order of the new layer. 

Do anyone have similar experience on this matter?  

Tags (2)
0 Replies