<!--
{
  "availability" : [
    "MapKit JS: 5.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "MapKitJS",
  "identifier" : "/documentation/MapKitJS/Map/center",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "MapKit JS"
    ],
    "preciseIdentifier" : "instp/mapkit.Map/center"
  },
  "title" : "center"
}
-->

# center

The map coordinate at the center of the map view.

```
get center(): Coordinate;
set center(center: CoordinateData);
```

## Discussion

When accessing [`center`](/documentation/MapKitJS/Map/center), MapKit JS copies the [`Coordinate`](/documentation/MapKitJS/Coordinate) instance.

---

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)