<!--
{
  "availability" : [
    "MapKit JS: 5.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MapKitJS",
  "identifier" : "/documentation/MapKitJS/CoordinateRegion",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "MapKit JS"
    ],
    "preciseIdentifier" : "cl/mapkit.CoordinateRegion"
  },
  "title" : "CoordinateRegion"
}
-->

# CoordinateRegion

A rectangular area on a map that a center coordinate and a span define, in degrees of latitude and longitude.

```
class CoordinateRegion implements CoordinateRegionData
```

## Topics

### Creating a coordinate region

[`constructor(center?: CoordinateData, span?: CoordinateSpanData);`](/documentation/MapKitJS/CoordinateRegion/CoordinateRegionConstructor)

A rectangular geographic region that centers around a latitude and longitude coordinate.

[`interface CoordinateRegionData`](/documentation/MapKitJS/CoordinateRegionData)

A plain object representation of a coordinate region.

### Defining the region

[`get center(): Coordinate;
set center(coordinate: CoordinateData);`](/documentation/MapKitJS/CoordinateRegion/center)

The center point of the region.

[`get span(): CoordinateSpan;
set span(span: CoordinateSpanData);`](/documentation/MapKitJS/CoordinateRegion/span)

The horizontal and vertical span representing the amount of map to display.

### Inspecting the region

[`get radius(): number;`](/documentation/MapKitJS/CoordinateRegion/radius)

The distance provided in meters or the longest distance derived from the center point to the region’s bounding box.

### Comparing, copying, and converting regions

[`copy(): CoordinateRegion;`](/documentation/MapKitJS/CoordinateRegion/copy)

Returns a copy of the calling coordinate region.

[`equals(anotherRegion: CoordinateRegion): boolean;`](/documentation/MapKitJS/CoordinateRegion/equals)

Returns a Boolean value indicating whether two regions are equal.

[`toBoundingRegion(): BoundingRegion;`](/documentation/MapKitJS/CoordinateRegion/toBoundingRegion)

Returns the bounding region that corresponds to the specified coordinate region.

[`toMapRect(): MapRect;`](/documentation/MapKitJS/CoordinateRegion/toMapRect)

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

### Instance Methods

[`toString(): string;`](/documentation/MapKitJS/CoordinateRegion/toString)

Returns a string representation of the coordinate region object.

## Relationships

### Conforms To

[`CoordinateRegionData`](/documentation/MapKitJS/CoordinateRegionData)

---

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)