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

# toMapRect()

Returns the map rectangle that corresponds to the calling coordinate region.

```
toMapRect(): MapRect;
```

## Return Value

A [`MapRect`](/documentation/MapKitJS/MapRect) that corresponds to the calling [`CoordinateRegion`](/documentation/MapKitJS/CoordinateRegion).

---

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)