This repository has been archived by the owner on Oct 16, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 24
Getting all map layers #37
Comments
@deepal13 These are graphic layers so you have to use |
@tmcgee That worked fine. Thanks :) |
@deepal13 In the Esri JavaScript API, graphic layers are always drawn on top so they cannot be moved below other non-graphic layers. |
@tmcgee Ok. But I am unable to move San Francisco 311 Incidents below louisvillePubSafety in the demo example. |
@deepal13 yes, that is how it works. The San Francisco 311 layer is a feature layer (graphic) and the Louisville Public Safety layer is a dynamic layer (non-graphic) |
@tmcgee Ok. I got it. Thanks for your help. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
@tmcgee I am trying to get all the layers using map.layerIds.length and then iterating through them. It gives me all the layers except from the ones added through DnD widget. How can I get those layers?
Also, The layers added through DnD doesn't move up or down with respect to already added operational layer. Can you please help me?
Thanks
The text was updated successfully, but these errors were encountered: