Select to view content in your preferred language

Filter layers in a webmap from MapImagelayer

138
1
3 weeks ago
Manager_HMWSSBCDC
New Contributor III

Hi,

I want to apply a definitionexpression to the layers in my webmap. I had a mapimagelayer in the webmap and when I search for 

 

wm = WebMap(webmap_item)
wm.layers

The expected output is to get all the layers, but I'm getting only single grouped map image layer. how do I get all the sublayers of that mapimage layer within the webmap and apply a definitionexpression to all layers.

0 Kudos
1 Reply
Manager_HMWSSBCDC
New Contributor III

Can anyone please answer this?

0 Kudos