AnsweredAssumed Answered

Is it possible to zoomToEnvelope in a webmap?

Question asked by warhursttw10 on Sep 24, 2014
Latest reply on Sep 25, 2014 by TBruns-esristaff

I am working on an app that displays a map. I have the code opening the webMap I have created on


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.