Good afternoon everybody,
In my webapp I use the map centerAndZoom method Map | API Reference | ArcGIS API for JavaScript which will return a deferred.
I haven't worked with deferred before and was wondering how I can continue with my code once the centerAndZoom has finished.
Would it look something like this or can somebody (probably Robert) give me an example?
map.centerAndZoom(allPoints[0].geometry,8).then(function(){
//continuation of the code
});
Thanks,
Tim