Map loading notifications

You get notified about Map loading notifications:

– (void)mapViewWillStartLoadingMap:(MKMapView *)sender;
– (void)mapViewDidFinishLoadingMap:(MKMapView *)sender;
– (void)mapViewDidFailLoadingMap:(MKMapView *)sender withError:(NSError *)error;

E.g. if there are large grey areas.

MKMapView tips

Some handy propertys:

Map view’s Display Type:
mapType: whether the map is Standard, Satellite or Hybrid

Showing the user’s current location:

@property BOOL showsUserLocation;
@property (readonly) BOOL isUserLocationVisible;
@property (readonly) MKUserLocation *userLocation;
MKUserLocation is an object which conforms to MKAnnotation which holds the user’s location.

Restricting the user’s interaction with the map
@property BOOL zoomEnabled;
@property BOOL scrollEnabled;