setRegion Sent Twice


#1

The zoom region is set and setRegion sent to worldView twice, once in mapView:didUpdateUserLocation: and again in foundLocation:. I understand why it is done in mapView:didUpdateUserLocation: but don’t know why it is sent again in foundLocation:. mapView:didUpdateUserLocation: is sent every time you change locations on the map. foundLocation: is in the chain that is sent after you enter in a location name and tap “Done.” I’m using the iPhone simulator and when I comment out the setRegion message in foundLocation:, the behavior of the program does not change. What is the purpose of setting the zoom region in foundLocation:?

Tom