I would say that this is documented, but could probably be improved. If you look at the documentation for map.addLayers(), it says:But the documentation for map.addLayer() makes no mention of firing the onLayersAddResult.
The onLayerAddResult event fires for each layer that is added. Once all the layers are added to the map the onLayersAddResult fires.
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.