Instance Property

centerOffset

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

Declaration

var centerOffset: CGPoint { get set }

Discussion

By default, the center point of an annotation view is placed at the coordinate point of the associated annotation. You can use this property to reposition the annotation view as needed. This x and y offset values are measured in points. Positive offset values move the annotation view down and to the right, while negative values move it up and to the left.

See Also

Getting and Setting Attributes

var isEnabled: Bool

A Boolean value indicating whether the annotation is enabled.

var image: UIImage?

The image to be displayed by the annotation view.

var isHighlighted: Bool

A Boolean value indicating whether the annotation view is highlighted.

var annotation: MKAnnotation?

The annotation object currently associated with the view.

var calloutOffset: CGPoint

The offset (in points) at which to place the callout bubble.

var reuseIdentifier: String?

The string that identifies that this annotation view is reusable.