I'm guessing you have OnDemand mode enabled?The doc should mention that this also triggers an update.
Update is a asyncronous method. In other words you have to give the server a chance to send a response back. Instead wait for the myFeatureLayer.UpdateCompleted event to fire before you do the zoom.
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.