go back to extents features  and  go to next extent

515
1
04-14-2012 02:52 AM
LucaAlferi1
New Contributor
Hi
in other Ersi'Api is possible to create the command "go back to extents features" and "go to next extent". I wanted to know if in ios there is this possibility.
Thanks
0 Kudos
1 Reply
NimeshJarecha
Esri Regular Contributor
Yes, it is possible to create these commands. Here are the steps you should follow...

1. Create a retain property of NSMutableArray.
2. Listen to the "MapDidEndZooming" notification.
3. Add self.mapView.visibleArea.envelope to the array created in step 1.
4. From "Go Back" and "Go Forward" get the respective extent and zoom.

Regards,
Nimesh
0 Kudos