I am working on an app that displays a map. I have the code opening the webMap I have created on ArcGIS.com.
In the method
-(void)webMapDidLoad:(AGSWebMap *)webMap
I set an envelope and then call
[self.mapView zoomToEnvelope:env animated:YES];
But the map just zooms to its normal extent, rather than the one I specified. I cant quite figure out what I am doing wrong. Any help would be appreciated.