Instance Method

mapViewDidFailLoadingMap:withError:

Tells the delegate that the specified view was unable to load the map data.

Declaration

- (void)mapViewDidFailLoadingMap:(MKMapView *)mapView withError:(NSError *)error;

Parameters

mapView

The map view that started the load operation.

error

The reason that the map data could not be loaded.

Discussion

This method might be called in situations where the device does not have access to the network or is unable to load the map data for some reason. It may also be called if a request for additional map tiles comes in while a previous request for tiles is still pending. You can use this message to notify the user that the map data is unavailable.

See Also

Loading the Map Data

- mapViewWillStartLoadingMap:

Tells the delegate that the specified map view is about to retrieve some map data.

- mapViewDidFinishLoadingMap:

Tells the delegate that the specified map view successfully loaded the needed map data.

- mapViewWillStartRenderingMap:

Tells the delegate that the map view is about to start rendering some of its tiles.

- mapViewDidFinishRenderingMap:fullyRendered:

Tells the delegate that the map view has finished rendering all visible tiles.