Instance Method


Tells the delegate that one or more renderer objects were added to the map.


optional func mapView(_ mapView: MKMapView, didAdd renderers: [MKOverlayRenderer])



The map view that added the renderer objects.


The renderer objects that were added.


The map view adds renderer objects when it needs them to draw their contents, which might be prior to those contents appearing onscreen. It calls this method to let you know that the renderer is active and in use. By the time this method is called, the specified renderers have already been added to the map.

See Also

Managing the Display of Overlays

func mapView(MKMapView, rendererFor: MKOverlay) -> MKOverlayRenderer

Asks the delegate for a renderer object to use when drawing the specified overlay.