<!--
{
  "availability" : [
    "iOS: 4.0.0 -",
    "iPadOS: 4.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.9.0 -",
    "tvOS: 9.2.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MapKit",
  "identifier" : "/documentation/MapKit/MKOverlay/intersects(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "MapKit"
    ],
    "preciseIdentifier" : "c:objc(pl)MKOverlay(im)intersectsMapRect:"
  },
  "title" : "intersects(_:)"
}
-->

# intersects(_:)

Returns a Boolean value that indicates whether the specified rectangle intersects the overlay’s shape.

```
optional func intersects(_ mapRect: MKMapRect) -> Bool
```

## Parameters

`mapRect`

The rectangle to intersect with the overlay’s area.

## Return Value

<doc://com.apple.documentation/documentation/Swift/true> if any part of the map rectangle intersects the receiver’s shape, or <doc://com.apple.documentation/documentation/Swift/false> if it doesn’t.

## Discussion

You can implement this method to provide more specific bounds-checking for an overlay. If you don’t implement it, the method uses the bounding rectangle to detect intersections.

---

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)