<!--
{
  "availability" : [
    "MapKit JS: 5.23.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MapKitJS",
  "identifier" : "/documentation/MapKitJS/MapConstructorOptions/cameraBoundary",
  "metadataVersion" : "0.1.0",
  "role" : "Interface Property",
  "symbol" : {
    "kind" : "Interface Property",
    "modules" : [
      "MapKit JS"
    ],
    "preciseIdentifier" : "structp/mapkit.MapConstructorOptions/cameraBoundary"
  },
  "title" : "cameraBoundary"
}
-->

# cameraBoundary

The boundary of the area within which the map view’s center needs to remain.

```
cameraBoundary?: CoordinateRegionData | MapRectData | null;
```

## Discussion

This property requires either a [`CoordinateRegion`](/documentation/MapKitJS/CoordinateRegion) or a [`MapRect`](/documentation/MapKitJS/MapRect) instance as a value.

---

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)