I'm trying to retrieve the visibleAreaEnvelope set after performing a zoom operation such as zoomToEnvelope or zoomToResolution etc. The following code performs the zoom as expected, however when I query the visibleAreaEnvelope it is always the envelope that was in existence before the zoom (in my case the max envelope). Does the zoom have to finish before the new envelope is available? If so, I can't find any way to determine when the map has been fully updated.
e.g. //In this example centre has been set to the GPS location in WKID:102100 map units
I was hoping to avoid that but it does work. Since in my case I need to know right away I have to wait for it in a background thread which is a bit messy but does work. It would be nice if there were similar routines as there are for MapKit where you can query what the resulting limits will be given a new envelope before actually setting it.