<!--
{
  "availability" : [
    "iOS: 4.0.0 - 13.0.0",
    "iPadOS: 4.0.0 - 13.0.0",
    "macCatalyst: 13.1.0 - 13.1.0"
  ],
  "documentType" : "symbol",
  "framework" : "MapKit",
  "identifier" : "/documentation/MapKit/MKMapViewDelegate/mapView(_:didAddOverlayViews:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "MapKit"
    ],
    "preciseIdentifier" : "c:objc(pl)MKMapViewDelegate(im)mapView:didAddOverlayViews:"
  },
  "title" : "mapView(_:didAddOverlayViews:)"
}
-->

# mapView(_:didAddOverlayViews:)

Tells the delegate when the map adds one or more overlay views to the map.

```
optional func mapView(_ mapView: MKMapView, didAddOverlayViews overlayViews: [Any])
```

## Parameters

`mapView`

The map view that adds the overlay views.

`overlayViews`

An array of [`MKOverlayView`](/documentation/MapKit/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.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)