stopin

how i can identify layers loaded by the user, and get their description???

Discussion created by stopin on Sep 2, 2013
Latest reply on Sep 2, 2013 by stopin
Hello,

I'm trying to get all the layers that have been added by me, for example, markers, polygons, etc..

My goal is that the end user can change the visibility of the layers.

Here I expose my problem:

When asked to map for the layers present on it, map.getLayersVisibleAtScale () returns me basemap layer, and many others among which are those of my interest.

I can not differentiate!

I would have to differentiate or get the layers that I added through the map notes for example.

Thank you.

Outcomes