---
title: centerOffset
framework: mapkit
role: symbol
role_heading: Instance Property
path: mapkit/mkannotationview/centeroffset
---

# centerOffset

The offset (in points) at which to display the view.

## Declaration

```swift
var centerOffset: CGPoint { get set }
```

## Discussion

Discussion By default, the map view places the center point of an annotation view at the coordinate point of the associated annotation. You can use this property to reposition the annotation view as necessary. MapKit measures the x- and y-offset values in points. Positive offset values move the annotation view down and to the right, and negative values move it up and to the left.

## See Also

### Getting and setting attributes

- [isEnabled](mapkit/mkannotationview/isenabled.md)
- [image](mapkit/mkannotationview/image.md)
- [isHighlighted](mapkit/mkannotationview/ishighlighted.md)
- [annotation](mapkit/mkannotationview/annotation.md)
- [calloutOffset](mapkit/mkannotationview/calloutoffset.md)
- [reuseIdentifier](mapkit/mkannotationview/reuseidentifier.md)
