mapView(_:didAddOverlayViews:)
Tells the delegate when the map adds one or more overlay views to the map.
Declaration
optional func mapView(_ mapView: MKMapView, didAddOverlayViews overlayViews: [Any])Parameters
- mapView:
The map view that adds the overlay views.
- overlayViews:
An array of Mkoverlayview objects representing the views that the map view adds.
Discussion
By the time the map view calls this method, MapKit has added the specified views to the map.