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.
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.