Enumeration

mapkit.Annotation.CollisionMode

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

Declaration

interface mapkit.Annotation.CollisionMode {
    const String Rectangle;
    const String Circle;
};

Topics

Collision Modes

mapkit.Annotation.CollisionMode.Circle

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

mapkit.Annotation.CollisionMode.Rectangle

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

See Also

Creating an Annotation

mapkit.Annotation

Creates a new annotation given its location and initialization options.

AnnotationConstructorOptions

An object that contains options for initializing annotation features.

mapkit.Annotation.DisplayPriority

Constant values used to provide a hint the map uses to prioritize displaying annotations.

addEventListener

Adds an event listener to handle events triggered by user interactions with annotations.

removeEventListener

Removes an event listener.