Instance Method

mapViewWillStartLoadingMap(_:)

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

Declaration

optional func mapViewWillStartLoadingMap(_ mapView: MKMapView)

Parameters

mapView

The map view that began loading the data.

Discussion

This method is called whenever a new group of map tiles need to be downloaded from the server. This typically occurs whenever you expose portions of the map by panning or zooming the content. You can use this method to mark the time that it takes for the map view to load the data.

See Also

Loading the Map Data

func mapViewDidFinishLoadingMap(MKMapView)

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

func mapViewDidFailLoadingMap(MKMapView, withError: Error)

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

func mapViewWillStartRenderingMap(MKMapView)

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

func mapViewDidFinishRenderingMap(MKMapView, fullyRendered: Bool)

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