Python API change layer order in map

373
1
Jump to solution
06-08-2023 10:53 AM
Scoth
by
New Contributor III

Is there a way to change the layer order in a web map using the Arcgis API for Python? I tried changing the order of layers in the web_map.layers list, as well as the web_map.definition.operationalLayers list, and then running web_map.update(), but it didn't do anything.

0 Kudos
1 Solution

Accepted Solutions
Clubdebambos
Occasional Contributor III
1 Reply
Clubdebambos
Occasional Contributor III