AnsweredAssumed Answered

Event when all map layers load completed

Question asked by udayanthaw on Jul 7, 2017
Latest reply on Jul 7, 2017 by TSolow-esristaff

Hi,

Is there a event to fire when all the layers are loaded? Im trying to run goTo(point) on mapview.then( ) but it doesn't seems to work because even the map view is resolved the map is not ready yet. also map is not visual at that point.

 

Sample;

 

mapview.then(function(evt) {

                mapview.goTo({
                                           center: [-0.0797168289197368,51.7932728800697],
                                            zoom: 16
         });

});

Outcomes