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.
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.