---
title: location
framework: mapkit
role: symbol
role_heading: Instance Property
path: mapkit/userlocation/location
---

# location

An object that describes the current location of the persons’s device, including the latitude and longitude.

## Declaration

```swift
var location: CLLocation? { get }
```

## See Also

### Accessing the user’s location and heading

- [heading](mapkit/userlocation/heading.md)
