<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "MapKit",
  "identifier" : "/documentation/MapKit/MKMapPointEqualToPoint(_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "MapKit"
    ],
    "preciseIdentifier" : "c:@F@MKMapPointEqualToPoint"
  },
  "title" : "MKMapPointEqualToPoint(_:_:)"
}
-->

# MKMapPointEqualToPoint(_:_:)

Returns a Boolean value that indicates whether two map points are equal.

```
func MKMapPointEqualToPoint(_ point1: MKMapPoint, _ point2: MKMapPoint) -> Bool
```

## Parameters

`point1`

The first map point.

`point2`

The second point.

## Return Value

<doc://com.apple.documentation/documentation/Swift/true> if the `x` and `y` values in both points are exactly the same, or <doc://com.apple.documentation/documentation/Swift/false> if one or both values are different.

## Discussion

---

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)