<!--
{
  "availability" : [
    "MapKit JS: 5.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MapKitJS",
  "identifier" : "/documentation/MapKitJS/Coordinate/equals",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "MapKit JS"
    ],
    "preciseIdentifier" : "instm/mapkit.Coordinate/equals"
  },
  "title" : "equals(anotherCoordinate)"
}
-->

# equals(anotherCoordinate)

Returns a Boolean value indicating whether two coordinates are equal.

```
equals(anotherCoordinate: CoordinateData): boolean;
```

## Parameters

`anotherCoordinate`

The coordinate to compare.

## Return Value

`true` if the coordinate specified by `anotherCoordinate` equals this coordinate; otherwise, `false`.

---

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)