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

# showsUserLocation

A Boolean value that determines whether to show the user’s location on the map.

```
get showsUserLocation(): boolean;
set showsUserLocation(value: boolean);
```

## Discussion

Set this property to `true` to determine the user’s location and make it visible on the map as a pulsing blue dot annotation.

Set this property to `false` to remove the user location annotation and to stop monitoring the user’s location.

> Note:
> This property affects the annotation’s visibility, but it doesn’t update the visible region of the map to put the user’s location in the view.

---

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)