<!--
{
  "availability" : [
    "iOS: 7.0.0 -",
    "iPadOS: 7.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.9.0 -",
    "tvOS: 9.2.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MapKit",
  "identifier" : "/documentation/MapKit/MKMapView/overlays(in:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "MapKit"
    ],
    "preciseIdentifier" : "c:objc(cs)MKMapView(im)overlaysInLevel:"
  },
  "title" : "overlays(in:)"
}
-->

# overlays(in:)

Returns overlay objects in the specified level of the map.

```
func overlays(in level: MKOverlayLevel) -> [any MKOverlay]
```

## Parameters

`level`

The map level whose overlays you want. For a list of possible values for this parameter, see [`MKOverlayLevel`](/documentation/MapKit/MKOverlayLevel).

## Return Value

An array of objects conforming to the [`MKOverlay`](/documentation/MapKit/MKOverlay) protocol that display in the specified map level. If there are no overlays at the specified level, this method returns an empty array.

## Discussion

You can use this method to get all of the overlays assigned to a specific map level, which might be a subset of the complete set of overlay objects. For overlapping overlay objects, the order of objects in the array represents their visual order when displayed on the map, with objects in the beginning of the array located behind those at later indexes.

## See Also

[`func addOverlays([any MKOverlay], level: MKOverlayLevel)`](/documentation/MapKit/MKMapView/addOverlays(_:level:))

Adds an array of overlay objects to the map at the specified level.

[`func addOverlay(any MKOverlay, level: MKOverlayLevel)`](/documentation/MapKit/MKMapView/addOverlay(_:level:))

Adds the overlay object to the map at the specified level.



---

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)