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

# locality

The city of the place.

```
locality: string | null;
```

## Discussion

For example, the [`locality`](/documentation/MapKitJS/Place/locality) for Golden Gate Park in San Francisco, California, is `"San Francisco"`.

---

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)