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


enum CollisionMode : Int


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.