---
title: equals(anotherCoordinate)
framework: mapkitjs
role: symbol
role_heading: Instance Method
path: mapkitjs/coordinate/equals
---

# equals(anotherCoordinate)

Returns a Boolean value indicating whether two coordinates are equal.

## Declaration

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

## Parameters

- `anotherCoordinate`: The coordinate to compare.

## Return Value

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

## See Also

### Comparing, copying, and converting coordinates

- [copy()](mapkitjs/coordinate/copy.md)
- [toMapPoint()](mapkitjs/coordinate/tomappoint.md)
- [toUnwrappedMapPoint()](mapkitjs/coordinate/tounwrappedmappoint.md)
