Enumeration

MKAnnotationView.CollisionMode

Constants indicating how to interpret the collision frame rectangle of an annotation view.

Declaration

enum CollisionMode : Int

Topics

Enumeration Cases

case rectangle

A constant indicating that the full collision frame rectangle should be used for detecting collisions.

case circle

A constant indicating that a circle inscribed in the collision frame rectangle should be used to determine collisions.

See Also

Managing Collisions Between Annotation Views

var collisionMode: MKAnnotationView.CollisionMode

The collision mode to use when interpreting the collision frame rectangle.