I want to change the order of layers in my view,My JS is V4.3 .
The Map object has a reorder method with which you can specify the layer index: Map | API Reference | ArcGIS API for JavaScript 4.3
You can also specify the layer index when adding the layer.
Thanks for your help. That help me a lot!!!
If this solved your question, please mark FC Basson's answer as "Correct".
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.