Instance Method

mapViewDidFinishRenderingMap(_:fullyRendered:)

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

Declaration

optional func mapViewDidFinishRenderingMap(_ mapView: MKMapView, fullyRendered: Bool)

Parameters

mapView

The map view that was rendering its tiles.

fullyRendered

This parameter is set to true if the map view was able to render all tiles completely or false if errors prevented all tiles from being rendered.

Discussion

This method lets you know when the map view finishes rendering all of the currently visible tiles to the best of its ability. This method is called regardless of whether all tiles were rendered successfully. If there were errors loading one or more tiles that prevented map view from rendering them, the fullyRendered parameter is set to false.

See Also

Loading the Map Data

func mapViewWillStartLoadingMap(MKMapView)

Tells the delegate that the specified map view is about to retrieve some 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.