Not updating map with location


I am running the simulator.

When I type in a location like “Raleigh, NC” in the Text Field and press search nothing seems to happen.

It does call this routine twice:

- (void)locationManager:(CLLocationManager *)manager didUpdateToLocation:(CLLocation *)newLocation fromLocation:(CLLocation *)oldLocation
But it log says it is always the same coordinates regardless of what I put in the TextField.

<+35.73265124, -78.78469388> +/- 108.00m (speed 0.00 mps / course -1.00) @ 4/26/11 1:27:43 PM Eastern Daylight Time

Then it call this routine.

- (void)mapView:(MKMapView *)mv didAddAnnotationViews:(NSArray *)views {
I just don’t see anywhere in the code where you get the Text out of the locationTitleField and do anything with it.


My mistake…I misunderstood the exercise…feel stupid.

Love the book.