<!--
{
  "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: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MapKit",
  "identifier" : "/documentation/MapKit/MKMapRect/intersects(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "MapKit"
    ],
    "preciseIdentifier" : "c:@F@MKMapRectIntersectsRect"
  },
  "title" : "intersects(_:)"
}
-->

# intersects(_:)

Returns a Boolean value that indicates whether two rectangles intersect each other.

```
func intersects(_ rect2: MKMapRect) -> Bool
```

## Parameters

`rect2`

The second rectangle.

## Return Value

<doc://com.apple.documentation/documentation/Swift/true> if `rect1` and `rect2` intersect each other, or <doc://com.apple.documentation/documentation/Swift/false> if they don’t intersect or either rectangle is `null`.

## Discussion

The rectangles aren’t intersecting if the only intersection occurs along an edge. For a true intersection, the rectangles both need to enclose a single rectangular area with a width and height that are both greater than `0`.

---

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)