Contents

mapViewDidFinishRenderingMap(_:fullyRendered:)

Tells the delegate when the map view finishes rendering all visible tiles.

Declaration

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

Parameters

  • mapView:

    The map view rendering its tiles.

  • fullyRendered:

    This parameter is True if the map view is able to render all tiles completely, or False if errors prevent the map view from rendering all tiles.

Discussion

This method lets you know when the map view finishes rendering all of the currently visible tiles to the best of its ability. The map view calls this method regardless of whether the view renders all tiles successfully. If there are errors loading one or more tiles that prevent the map view from rendering them, MapKit sets the fullyRendered parameter to false.

See Also

Loading the map data