Map no longer visible after zoom


#1

I followed the Whereami sample to the letter and getting a strange result. I put NSLog message throughout to make sure the flow was happening as expected. All worked well until I added the zoom via the [worldView setRegion:region animated:YES]; statement. Once the zoom occurs, I no longer see the map. I do see the text field I placed at the top and the Google in the lower left hand side of the screen. Any ideas?

thanks


#2

If I were to make a guess, I’d guess that the region isn’t being set correctly and it’s zooming in so far you can’t make out anything.


#3

Looks like the lat/long values that was provided in the hack to run in xcode 4.1 was the issue.


#4

Looks like you only need the “Hack” when running on the simulator. Runs just fine on the device itself


#5

My guess is that you are having the same problem that I had. There is an Exception… review my other post on Chapter 5.

And yes, this was on the simulator. I haven’t tried it on a device yet.