Bronze Challenge: Map Type


#1

Here is my solution for changing the map to display Satellite imagery. I added the code inside of the viewDidLoad function

- (void)viewDidLoad
{
    //MKMapView knows how to use Core Location to find the user's location
    [worldView setShowsUserLocation:YES];
    
    //Switch to satellite view
    [worldView setMapType:MKMapTypeSatellite];
}

If you place the setMapType code inside of the findLocation or foundLocation function, after entering in a location name the map type will change.