---
title: copy()
framework: mapkitjs
role: symbol
role_heading: Instance Method
path: mapkitjs/maprect/copy
---

# copy()

Returns a copy of a map rectangle.

## Declaration

```data
copy(): MapRect;
```

## Return Value

Return Value A MapRect object that is a copy of the original.

## See Also

### Working with map rectangles

- [equals(anotherRect)](mapkitjs/maprect/equals.md)
- [scale(scaleFactor, scaleCenter)](mapkitjs/maprect/scale.md)
- [toCoordinateRegion()](mapkitjs/maprect/tocoordinateregion.md)
