Where I can find layer 'number'

152
2
Jump to solution
12-21-2021 06:38 AM
Labels (2)
RobertPiatek
New Contributor II

Hi Everyone, 

I have a question, how can i get number of layer presented on screen. All of them are layers from Feature Service and I would like to kow this number to be able to configure widgets like Layer List with new layers added to map. 

RobertPiatek_0-1640097323234.png

Because newly added layers to the map will not appear in existing apps widgets. 

BR Robert  

0 Kudos
1 Solution

Accepted Solutions
RickeyFight
MVP Regular Contributor

@RobertPiatek 

Go to https://ago-assistant.esri.com/ and search for the map you are using. Then look at the json. It should have the layer numbers. 

RickeyFight_1-1640106081397.png

 

 

View solution in original post

2 Replies
RickeyFight
MVP Regular Contributor

@RobertPiatek 

Go to https://ago-assistant.esri.com/ and search for the map you are using. Then look at the json. It should have the layer numbers. 

RickeyFight_1-1640106081397.png

 

 

RobertPiatek
New Contributor II

Thank you very much! That's what I was looking for 😉

0 Kudos