---
title: size
framework: mapkitjs
role: symbol
role_heading: Instance Property
path: mapkitjs/maprect/size
---

# size

The width and height of a rectangle, starting from the origin point.

## Declaration

```data
get size(): MapSize;
set size(value: MapSizeData);
```

## See Also

### Defining a map rectangle

- [origin](mapkitjs/maprect/origin.md)
