MKMapViewDelegate

Declaration

protocolMKMapViewDelegate

Overview

Because many map operations require the MKMapView class to load data asynchronously, the map view calls these methods to notify your application when specific operations complete. The map view also uses these methods to request annotation and overlay views and to manage interactions with those views.

Before releasing an MKMapView object for which you have set a delegate, remember to set that object’s delegate property to nil. MapKit calls all of your delegate methods on the app's main thread.

Important

In iOS 5.1 and earlier, the Map Kit framework uses the Google Mobile Maps (GMM) service to provide map data. Use of specific classes of this framework (and their associated interfaces) is subject to the Google Mobile Maps terms of service. You can find these terms of service at http://code.google.com/apis/maps/iphone/terms.html.