Select to view content in your preferred language

Filter layers in a webmap from MapImagelayer

512
2
05-28-2024 09:19 AM
Manager_HMWSSBCDC
Occasional Contributor

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
2 Replies
Manager_HMWSSBCDC
Occasional Contributor

Can anyone please answer this?

0 Kudos
DougStoltz
New Contributor

Did you ever find an answer to your question?

0 Kudos