---
title: url
framework: mapkit
role: symbol
role_heading: Instance Property
path: mapkit/mkmapitem/url
---

# url

The URL associated with the specified location.

## Declaration

```swift
var url: URL? { get set }
```

## Discussion

Discussion If there’s a relevant URL associated with the location, such as for a business at the location, use this property to specify that value.

## See Also

### Accessing the map item attributes

- [MKMapItem.Identifier](mapkit/mkmapitem/identifier-swift.class.md)
- [alternateIdentifiers](mapkit/mkmapitem/alternateidentifiers.md)
- [identifier](mapkit/mkmapitem/identifier-swift.property.md)
- [isCurrentLocation](mapkit/mkmapitem/iscurrentlocation.md)
- [name](mapkit/mkmapitem/name.md)
- [placemark](mapkit/mkmapitem/placemark.md)
- [pointOfInterestCategory](mapkit/mkmapitem/pointofinterestcategory.md)
- [phoneNumber](mapkit/mkmapitem/phonenumber.md)
- [timeZone](mapkit/mkmapitem/timezone.md)
